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

2010-09-02 Thread Kostya Vasilyev
Seems like your server is a .Net application. Can't you run it under IIS instead, which doesn't have this limitation? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 03.09.2010 0:04 пользователь "paladin" написал: Yeah, I'm using Visual Studio's Cassini, and it doesn't accept connections ex

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

2010-09-02 Thread paladin
Yeah, I'm using Visual Studio's Cassini, and it doesn't accept connections except on localhost. On Sep 2, 3:47 pm, Mark Murphy wrote: > On Thu, Sep 2, 2010 at 3:45 PM, paladin wrote: > > I'm behind a router, and the "real" IP address starts with 192... and > > I tried even from a browser on my m

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

2010-09-02 Thread Chris Stratton
Ideas 1) put the phone on a local wifi network along with the pc hosting your test server. 2) run the test server on the phone 3) you can use an adb forward to let the pc connect() to the phone. Write something on each end to proxy & tunnel connections back out. 4) deploy your server on the int

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

2010-09-02 Thread Mark Murphy
On Thu, Sep 2, 2010 at 3:45 PM, paladin 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.

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

2010-09-02 Thread Kostya Vasilyev
Connect your phone to the router via Wifi, so it's on the same subnet as the computer running the service. Use the computer's real IP address, on the same subnet. Finally, check the computer's firewall settings w.r.t. your service. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 02.09.2010

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

2010-09-02 Thread paladin
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. On Sep 2, 3:41 pm, Mark Murphy wrote: > On Thu, S