Actually the 2 instances of emulators have same IP address. Hence using a different port.
On Tuesday, October 23, 2012 11:15:47 AM UTC+3, skink wrote: > > > > Archana wrote: > > Hi when I use the IP address as 10.0.2.2:5001, I am getting UnknownHost > > exception. > > This is what I am doing: > > > > Emulator 1: Listens on port 5000 > > Emulator2: Listens on port 5001. Both are service. > > both parties can listen on the same port since they are hosted by > different hosts, what you have to do is to find out their IPs > > pskink > -- 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

