Use 10.0.2.2
Powered by Telkomsel BlackBerry®

-----Original Message-----
From: Rajesh Pelluru <[email protected]>
Sender: [email protected]
Date: Mon, 11 Oct 2010 10:30:23 
To: <[email protected]>
Reply-To: [email protected]
Subject: [android-developers] Host not resolved issue

Hi,
     If i try to open connection for http://localhost:5001 using
HttpURLConnection in my android app, i am getting host not resolved issue in
my android emulator.
Internet connection is working in my emulator and I am able to browse the
web sites using my emulator.

I tried below options

1. Created new AVD

2. Restarted both Eclipse IDE and AVD

3. Instead of localhost , i used ipaddress of the machine

None of the above options  didn't work for me.

Could anyone help me on the same.

--Rajesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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