Mobile app version of vmapp.org
Login or Join
Vandalay111

: Can I view my PC localhost test site on my android tablet without uploading it? I am working on a web site which is running on my PC via XAMPP. I want to test the site on my android

@Vandalay111

Posted in: #CrossPlatform #Localhost #ResponsiveWebdesign #Testing

I am working on a web site which is running on my PC via XAMPP. I want to test the site on my android tablet (galaxy tab) to make sure that the responsive design behaves that way it is designed to. I am wondering if there is a way to connect my tablet to my PC in a way that will allow me to view my localhost site on my tablet. This would allow me to fix bugs without having to upload every change.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

If the PC and tablet are on the same network, it is possible. All you'd need to do is use the IP address of the PC to access the site. So instead of accessing it via localhost (as you would on the PC), you'd access it via 192.168.1.2 (example).

If the devices are not on the same network, it's still possible to access the PC with the tablet if you setup whatever router the PC is behind to port-forward port 80 requests to the PC hosting the web site/app.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme