View Single Post
Old 12-01-2012, 06:02 AM   PM User | #6
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
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
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/

Last edited by felgall; 12-01-2012 at 06:07 AM..
felgall is offline   Reply With Quote