On Sat, Jul 3, 2010 at 11:27 AM, Lamia Hannoun <[email protected]> wrote:
> Actually i've already  tried to use the real IP of my machine but it didn't
> work, and yes my my LAN is behind NAT. Do u have any idea?

If you are using a 3G connection, your phone will be unable to access
your Web service on  your local machine, unless your local machine has
a public IP address available to the entire planet (or at least to
your mobile provider).

If you are using a WiFi connection, make sure your Web service is set
up to listen on your PC's real IP address and not just on localhost.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.2 Programming Books: http://commonsware.com/books

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