How to connect to localhost from VS Android Emulator How to connect to localhost from VS Android Emulator android android

How to connect to localhost from VS Android Emulator


VS studio Emulator work very fine and fast

see the screen shot that how you can connect VS Emulator to localhoat

enter image description here


The network addresses specified on http://developer.android.com/tools/devices/emulator.html#networkaddresses will not work for the Visual Studio Emulator for Android (well, except the very last one, which is the standard localhost IP address).

The address 169.254.80.80 is expected to work as a loopback to the host. There seems to be a bug regarding connectivity back to the host using that address on images running Lollipop (21) and above. I have logged a bug internally for this.


The previous answer is perfect but Android studio 3+ emulator need to add IP and port on proxy under setting.

enter image description here