Hmm, here's a proposal: 1. have a small server program on your dev machine, listening to <any>:6000 2. have your application detect it is running in the emulator, then connect to 10.0.2.15:6000, this should get it through the server 3. have the server output its IP address to the client. 4. profit !
If you want to do that without help from the dev machine, I'm really unsure there is anything to help you there. The internal NAT/firewall is there to prevent the guest system to see your dev environment for a reason. On Tue, Apr 27, 2010 at 5:00 PM, RAJ <[email protected]> wrote: > Can anyone suggest a solution for emulator to get my own local IP (not > 10.0.2.15)? But i want to get my actual IP of my system. Is there any > solution to it? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

