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 em
Well, it just works (TM).
In the android emulator manual that I had read before testing (I try to RTFM before doing things) this is stated:
Each instance of the emulator runs behind a virtual router/firewall service that isolates it from your development machine's network interfaces and settings and from the internet. An emulated device can not see your development machine or other emulator instances on the network. Instead, it sees only that it is connected through Ethernet to a router/firewall.
This made me think that it could not access my LAN. I was wrong, just adding the IP of the server on my LAN allowed me to access it from the emulator.