Dear all,
I am facing a problem where InetAddress.getByName, getAllByName are
throwing UnknownHostException.

I have included the java.net.* packages and I am using an android
device to load this code and test and not an emulator.

Also, I connect the device on hyperterminal to capture the logs. I
read that we must do some 'use-permission' option in the code but am
totally unclear on this.

When I ping to these hostnames on the system where hyperterminal is
up, it just pings fine, meaning the ports are open. Also, I am able to
connect if I directly use IPAddress without the conversion from
hostname to IP.

Please help me resolve this issue. Please revert incase you need
anymore details.

Regards,
aad

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to