Access a web server on your localhost from Android emulator using a domain name

It’s fairly easy to access your localhost from an Android emulator. The Android documentation explains that 10.0.2.2 is a special alias to your host loopback interface (i.e., 127.0.0.1 on your development machine). However, if you want to access a domain name (instead of an IP address) it becomes a little trickier. I wanted to use …

Access a web server on your localhost from Android emulator using a domain name Lire la suite »