![]() |
How can i access localhost from my phone?
of course i can access localhost on my pc, but i wanna access it on my andriod, we are sharing the same network via wifi
thnks for the help this would help alot :D |
You should just be able to go to localhost on your phone's browser like you would on any other machine. Type localhost into the address bar on your phone's browser and tap 'go' ... it should work!
|
that doesn't work so im thinking firewall settings
|
doesnt work and fire wall setting are off any suggestions?
|
That's odd. it should simply work. Log into your router and look for connected devices. If your phone shows up in the list then that is even more odd, but if it isn't you know it isn't on the LAN.
If it works on your pc, it should work on your phone. You're absolutely sure you're on the same LAN? Make sure your 3 or 4 g is turned off, and only wifi is on your phone. Try 127.0.0.1 |
localhost is always the web server running on the device you are using. Presumably your phone isn't running a web server and you want to access the web server on your local computer - in which case just substitute the IP address of that computer and don't use 127.0.0.1
For example if the server is running on a computer with IP address 192.168.1.25 then on that computer 127.0.0.1, localhost and 192.168.1.25 all point to the same place but the only one that points to the web server on that computer from other devices is 192.168.1.25 |
Quote:
|
Quote:
Yes, that's perfectly obvious now that you've pointed out the obvious! :rolleyes: |
| All times are GMT +1. The time now is 04:43 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.