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.

  • 1
    I think it can be possible if your PC and your tablet are in the same network (WIFI for instance).
    – Zistoloen
    Commented Apr 2, 2014 at 13:51

1 Answer 1


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 (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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.