>
> I have a client, on the emulatot that tries to connect to this server.
> I use 10.0.2.2 to connect to localhost, but it doesn't work.
>
> Socket s = new Socket("10.0.2.2", 8189);
>
> Can anybody explain why this happen,have you tried to forward/redirect ports? Maybe that is what you are missing. Plus, take a look at: http://groups.google.com/group/android-developers/browse_thread/thread/55cf8d2cbc524b87 You probably want to bind your Android server using a specific IP. HTH, Kobi. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

