within the emulator, address 10.0.2.2 is a special alias that connects directly to your development machine's localhost (i.e. you r own 127.0.0.1)
On Wed, Apr 2, 2008 at 10:56 AM, Dan U. <[EMAIL PROTECTED]> wrote: > > Right, the emulator thinks localhost is itself. You should be able to > specify the actual ip address of your computer when you make a > connection. > > On Apr 2, 1:43 am, "E.D.I" <[EMAIL PROTECTED]> wrote: > > How to connect to a server that runs on a localhost with the same > > eclipse program as the emulator? > > > > i need the emulator to connect to a server > > both of them are in the building process so they both > > are running on the same eclipse for check > > but the emulator for some reason cant connect to the localhost > > so can someone plase tell me how can it be done....:) > > thnx in advance.. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

