But do not tell me under what IP virtual device sees the computer on which it is running?
I feel that the question is incomprehensible, so I’ll explain the problem:
on a computer on a known port a certain network service is running. What IP must be specified in the socket settings on the virtual device in order to connect to the service running on the computer?
UPD: I will answer my own question, maybe someone else will need:
Referring to localhost from the emulated environment
If you need to refer to your host computer's localhost, such as when you want the emulator client to contact a server running on the same host, use the alias 10.0.2.2 to refer to the host computer's loopback interface. From the emulator's perspective, localhost (127.0.0.1) refers to its own loopback interface.
found the answer to
http://developer.android.com/guide/appendi...indowpropertiesBy the way, I recommend this resource to everyone.
Post has been editedAmmog - 03.10.09, 02:56Reason for editing: answer