[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread David Turner
Please don't hijack existing threads, it makes searching more difficult in the future.Besides, I recommend posting your question in the android-porting forum instead. Regards On Tue, Sep 15, 2009 at 1:58 PM, ANDRONIC BOANARIJESY wrote: > I am a student in Computer Science in Morocco. > I'm sorry

[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread ANDRONIC BOANARIJESY
I am a student in Computer Science in Morocco. I'm sorry about my english, but I have some questions about android. I want to port android to dev2410 ( http://www.pragmatec.net/catalog/product_info.php?products_id=56&osCsid=2e82f46be064a4ab8b3a276090cafd77 ). I already tested the kernel with linux

[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread WoodManEXP
Pop myself in the head! Thank you Terry and Jason.. Of course 127.0.0. is the Android. I keep forgetting simple stuff like that. And I now also see it staring me in the face in the docs under "Emulator Networking." Hopefully I can return the favour. On Sep 15, 4:51 pm, Jason Proctor wrote: > i

[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread Jason Proctor
if the apache server is running on the computer that's running the emulator, then you need to use the 10.0.2.2 address rather than localhost/127.0.0.1. the latter refers to the emulator itself in this case. of course, if you really are running a server on the emulator, then you have a differen

[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread Terry Heatlie
The emulator is a separate machine and thinks that 127.0.0.1 refers to itself, not the machine the emulator is hosted on. On Tue, Sep 15, 2009 at 1:38 PM, WoodManEXP wrote: > > HttpHostConnectException: Connection to http://127.0.0.1 refused > > This Android app is using (trying to use) the http