Localhost refers to your device's or the emulator's internal network - and that's probably not where your server is running.

Do you have INTERNET permission in the manifest?

If you do, two things to try:

- Open the URL with the device's web browser (or the emulator's);

- Use 'adb shell' and then 'ping' to check if the host is reachable.

-- Kostya

18.05.2011 14:41, Rocky пишет:
thanks Kostya,

so how to test it, "localhost:2853" also not supported.
please let me know, my code is ok


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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