Is there an easy way to setup the android emulator to access the LAN of the host machine ?
Posted
by Longfield
on Stack Overflow
See other posts from Stack Overflow
or by Longfield
Published on 2010-06-09T21:35:20Z
Indexed on
2010/06/10
0:02 UTC
Read the original article
Hit count: 261
I would like to access a web service provided by one of the machines on my LAN from the android emulator.
If the service was running on the same machine where the emulator is running (called host), I could add a network redirection and access the 10.0.2.2 (host loopback interface in the emulator) with the correct port.
However it is running on another machine on the LAN. I guess I could add another redirection on the host additionally to the above one (would have to fight with iptables though ... ), but does a more simple solution exist ?
© Stack Overflow or respective owner