if you're trying to connect to a server which is running on the host 
computer, then use 10.0.2.2 as the IP address. localhost, in this 
situation, is the emulator.

hth

>I'm trying the following :
>1)I have a service running on localhost:80
>2)Iam trying to connect to the url via application and I'm trying to 
>display the content onto the screen .Iam not getting any content 
>back onto to screen ,
>
>But while debugging using DDMS .I'm getting the following error :
>
>I have given proper permission onto the manifest file.URL locally 
>works!.ANy pointer on this connection refusewd problem.
>
>10-10 21:33:26.195: WARN/System.err(176): java.net.ConnectException: 
>localhost/<http://127.0.0.1:80>127.0.0.1:80 - Connection refused


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to