How to connect to a local server from an android emulator? Use the IP address 10.0.2.2. You can read more at here.