Thursday, September 2, 2010

Re: [android-developers] Re: Connect to localhost on a Nexus One?

On Thu, Sep 2, 2010 at 3:45 PM, paladin <quotient@gmail.com> wrote:
> I'm behind a router, and the "real" IP address starts with 192... and
> I tried even from a browser on my machine to connect using that "real"
> IP address to the web service, and it doesn't work. Only localhost
> works, and from the emulator, 10.0.2.2.

Your Web service is misconfigured. Configure it to listen on more than
localhost. Then access it via WiFi from the device.

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

Android Consulting: http://commonsware.com/consulting

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


Real Estate