[android-developers] Unable to resolve host "mysite.com" No address associated with hostname
I have a site up and running and I can even connect to it with the
emulator, and up to an hour ago I was able to connect to it with the
android device as well. However, now I am suddenly getting this
message when trying to connect to a URL while testing on the device:
01-07 17:52:42.650: W/System.err(24859):
java.net.UnknownHostException: Unable to resolve host "mysite.com": No
address associated with hostname
01-07 17:52:42.650: W/System.err(24859): at
java.net.InetAddress.lookupHostByName(InetAddress.java:424)
01-07 17:52:42.650: W/System.err(24859): at
java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
01-07 17:52:42.650: W/System.err(24859): at
java.net.InetAddress.getAllByName(InetAddress.java:214)
01-07 17:52:42.650: W/System.err(24859): at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:
137)
I tried it with emulator again and emulator still is able to connect
to host, but the device keeps producing the above error.
thanks for response
--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home