I'm trying to access a web server running on the Android emulator from my machine. I know the reverse i.e., how to access the server running on my local machine from the Android emulator (using 10.0.2.2
). I have searched a lot about this stuff but couldn't get any relevant information.
When the server is up and running inside the emulator I can access it using 10.0.2.15:portNumber
. I can do a telnet to the emulator, but I wonder how that will be helpful. Any suggestions on how to get connected to the web server running inside the emulator?