Re: [android-developers] 127.0.0.1 Connection refused when not connected to WiFi

2011-07-16 Thread Navindian
Use 10.0.0.2 instead of localhost or i.p.address. This will work. Thanks Naveen Gayar On Fri, Jul 15, 2011 at 1:46 AM, Uffe swedish...@gmail.com wrote: Hi! I am writing a service app which needs to be accessed from a browser (on the same device, never remotely) and whose URL needs to be

Re: [android-developers] 127.0.0.1 Connection refused when not connected to WiFi

2011-07-16 Thread Chris Stratton
On Saturday, July 16, 2011 2:41:12 AM UTC-4, Naveen Gayar wrote: Use 10.0.0.2 instead of localhost or i.p.address. This will work. That ?might? work on an emulator, but will not on a properly configured hardware android device. At any rate, the problem is not a networking one, but a web

Re: [android-developers] 127.0.0.1 Connection refused when not connected to WiFi

2011-07-16 Thread Kristopher Micinski
On Sat, Jul 16, 2011 at 8:10 AM, Chris Stratton cs07...@gmail.com wrote: On Saturday, July 16, 2011 2:41:12 AM UTC-4, Naveen Gayar wrote: Use 10.0.0.2 instead of localhost or i.p.address. This will work. That ?might? work on an emulator, but will not on a properly configured hardware

[android-developers] 127.0.0.1 Connection refused when not connected to WiFi

2011-07-14 Thread Uffe
Hi! I am writing a service app which needs to be accessed from a browser (on the same device, never remotely) and whose URL needs to be http://127:0.0.1:port. I cannot use any other IP address. The problem is that when I direct the browser to the URL, it fails with a Connection Refused error if