I am trying to connect to a local website from my PC running XAMPP (IP address made static at 192.168.1.100). I tried many workarounds (one of them) given on the internet but everytime I try to connect to my website from my Android Device (connected to same wifi network) using http://192.168.1.100/mywebsite
it gets redirected to http://localhost/mywebsite
which I suppose is correct if I use it on the same PC running XAMPP but not for the Android device. I even tried to name the IP in hosts
on my PC (running Windows 7 Ultimate). But that didn't worked as well. Tried it to call using http://mypcname/mywebsite
which ofcourse gave the same result as above.
Am I required to set-up some Forwarding on my WiFi Router, if so, how can I do that? Or there is something else I am missing?