InquisitorJax February 2016

Visual Studio Android Emulator won't connect to localhost

Running VS 2015 + Windows 10.

The android emulator cannot reach localhost on IP 169.254.80.80, which is the registered virtual switch. It can, however, connect to the net. Windows Mobile 10 emulator can connect just fine to the same localhost IP.

The error is "connection timed out"

Is VS Android Emulator on Win 10 broken?

Answers


InquisitorJax February 2016

k - figured it out.

usually IP (169.254.80.80) that links to the "Windows Phone Emulator" switch is the one to use, but in this case that wasn't so. If you open the network tab (select the >> button on the emulator), you'll notice there are 2 Desktop Adapters - one is the 169... IP, and in my case the other is 10.0.0.10. The 10.0.0.10 IP managed to connect to localhost (pretty blue IIS screen :)

Edit: why does murphy insist you struggle for hours on a problem, but will only let you figure it out 5 minutes after you post a stack overflow question :P

Post Status

Asked in February 2016
Viewed 2,588 times
Voted 9
Answered 1 times

Search




Leave an answer