My web application runs on a local server. In my emulator, the url is http: // localhost: 8080 / myaction
Can I get information from the server?
Localhost is the device’s native loopback interface if you are trying to access your 10.0.2.2 development machine.
Read more about it here .