Android Server Pc Client
I'm trying to get a PC client to connect to an Android server. This is running in the emulator. I cannot get the PC client to connect. The android server.. try { serverSock
Solution 1:
From the docs for Emulator Networking...
The virtual router for each instance manages the 10.0.2/24 network address space
Most importantly, the emulated device's own network address is 10.0.2.15.
I don't use the emulator but as far as I can tell you need to setup a redirection from 127.0.0.1:<host-port>
to 10.0.2.15:<guest-port>
. See the docs for Setting up Redirections through the Emulator Console.
As I said, I don't use the emulator but this is how I understand things work.
Post a Comment for "Android Server Pc Client"