The networking configuration of the latest Windows Phone 8.1 emulator has changed from the Windows Phone 8.0 emulator and this has some implications to how you can connect to and from the emulator.
In this post, I’ll describe what I had to do in a case where I had a server running inside the emulator and I wanted to create a connection to it. I am using a simplistic server app as the example.
If you run the example app on a Windows Phone 8.0 emulator, you can access the server using the IP address that the app prints. A screenshot (with IE on the background and emulator on the foreground) would look something like this:
However, doing the same with a 8.1 emulator doesn’t seem to work and the browser can’t access the server. Instead of using the IP the app prints, I had to use the IP of the Hyper-V Virtual Ethernet Adapter. Here is a screenshot of that case – notice how the IP in the browser address bar differs from what the app prints:
There are at least two places from which you can see the IP address to connect to:
1. Network and Sharing Center
2. Emulator’s tools menu under the network tab