Windows Phone 8 emulator cannot connect to the Internet

I have Windows 8 installed inside the emulator and the new WP8 SDK is installed on it. My problem is that the emulator cannot connect to the Internet. I do not have a proxy server and even the firewall is disabled. However, it still does not work. When I look at the "Network Connections" sections, I see new connections created by the hyper-v manager for the emulator, as well as an automatic bridge created, but even there the network status is "No Internet Connection".

Are there some properties that I can manually change in Hyper-V or for the network so that everything works?

Update . I did everything suggested, including creating my own switch and deleting everything else. However, it still does not work. It does not work on cable, not on Wi-Fi. Maybe I'm missing something, how to do this?

Also, the WP emulator continues to offer me to connect to the Internet every time. It always deletes all definitions that I created, replacing it with my own definitions.

+44
windows-8 networking windows-phone-8-emulator hyper-v windows-phone-8
Oct 31 '12 at 14:12
source share
14 answers

I had the same problem. However, as someone pointed out in the official forums, this did not work if you had a static IP address for your PC installed in your router. By removing it and letting DHCP assign my computer, IP solved the problem for me.

Source

+24
Nov 05 '12 at 11:15
source share
— -

I think I finally found the answer, but you probably won't like it. It looks like the phone emulator requires that you have a second network adapter designed for this purpose. Personally, I run Windows 8 in VMWare, and so for me a free network adapter.

In any case, after you receive the second network adapter, which you can select for the phone emulator (must have Internet)

  • Start from scratch. Go to Hyper-V Manager and remove the emulator along with all the virtual switches.
  • Run the emulator from Visual Studio; this recreates it with all the default settings (select yes to configure it to connect to the Internet).
  • To finish work
  • Now go back to Hyper-V Manager
  • Delete the snapshot that was just created for the emulator. This will prevent your changes from disappearing.
  • Find the virtual switch for the second network adapter in the network adapter settings (under the control panel)
  • Disable TCP / IPv4, 6 and all other services. This prevents your host from trying to use the connection. While you are there, get the MAC (physical) address of this adapter
  • Find the virtual switch for the second network adapter in the Hyper-V settings for the emulator
  • Change the type of MAC to static and insert the MAC address of the adapter
  • Enable MAC spoofing (optional if required, but just in case)
  • Then find the virtual switch in the "Virtual Switch Manager" section.
  • Make sure that “Allow operating system management to share this network adapter” is unchecked and that all extensions are disabled.
  • Click OK, and then run the emulator from Visual Studio!

Basically, it seems that for some odd reason, it will not work properly if the phone does not have the same MAC address as the network adapter. However, we cannot just configure it to use the same MAC address, because address conflicts are very bad. So, we need a second adapter, which we can devote to the phone emulator. The reason we disabled TCP / IP on this adapter is because our host machine does not use it and causes these conflicts.

Other things to try:

The emulator continues to randomly break down for me. I listed a few other things that I messed up the last time you earned it (not sure if they are connected, so try only if the above steps do not work

  • Reordering network adapters for the emulator so that the external virtual switch is at the top (be sure to copy the MAC address for the internal adapter)
  • Removing unconnected network adapters
  • Restarting your machine after reconfiguring virtual switches
  • Praying to your local Microsoft evangilist

Really. Each time I turn off the phone for a while and return, the emulator is always magically broken, without changing anything. I don’t know how to make it work "for a long time."

+27
Nov 01 '12 at 20:59
source share

Here is what worked for me:

  • Go to the internal network connection created by hyper-v in the network connections on the host computer. Go to TCP / IP V4 and go to advanced. Change the metric from automatic to 10.
  • Go to the external network connection, do the same, but set the metric to 1.

Will, the Internet in the emulator.

+7
Mar 11 '13 at 14:27
source share

I tried the following steps, not sure if this will work for you

1> Remove all emulators in Hyper-v
2> Remove all virtual switches from the virtual switch manager
3> Go to the "Network Connections in the Control Panel" section and manually disconnect (right-click and click "Disconnect") all the connections except the one provided by the Internet.
4> Run the emulator from Visual Studio

+6
Nov 07
source share

Something else that also causes the problem is Fiddler.

I had Fiddler open and running (since I controlled other HTTP requests), and this stopped connecting the emulator.

As soon as I close Fiddler, the emulator will start connecting normally.

+2
Mar 04 '13 at 11:49
source share
  • Launch Hyper-V Manager
  • Open Virtual Switch Manager
  • Remove the internal switch of the Windows Phone emulator from the list and apply the changes.
+2
Apr 23 '14 at 22:38
source share

I went through many of the proposed solutions, also no luck. What finally helped me was to fix the vmware warning about the guest OS, trying to set the messy mode for the ethernet adapter ( http://kb.vmware.com/kb/287 ).

+1
May 21 '13 at 15:03
source share

After installing the Windows Phone emulator on my yoga laptop, I immediately had the following problems:

  • Applications for the emulator can not get on the Internet
  • The Internet connection on the host computer is very slow and almost unusable.

I was discouraged and thought that I would have to take some decisive and desperate actions to correct the situation, but I was lucky with the following steps that completely solved my problems (for now). The steps are detailed (intended for readers), but actually very simple in practice.

.... 0: Disconnected network cable (to remove it from the equation), but remained connected to WiFi. Problems still remain, but at least there is less complexity now.

.... 1: A network bridge has been removed in the control panel / network connections / changing adapter settings (required for step 2).

.... 2: open Hyper-V manager by right-clicking on the VM element of the emulator and the selected virtual switch manager. Selected "Internal switch of the Windows Phone emulator" and changed the switch from internal to external (this was possible only after removing the network bridge (step 1)).

At this point, the emulator can now connect to the Internet (and the control panel shows that WPEIS finally has Internet access); however, deploying the WP build binary from VS to the emulator does not work - it just freezes when I try to build and deploy from Visual Studio (so a new problem pops up (temporarily)).

.... 3: Returned to HyperV Manager, returned to the virtual machine manager of the VM emulator and returned the internal Windows Phone Emulator from the external device back to the internal one.

Now I can successfully build and deploy WP build from Visual Studio to the emulator. And the emulator retains its network capabilities. Also, the network connection of the host machine has also returned to healthy.

Hope this helps someone. Good luck

+1
Jun 02 '13 at 1:57
source share

Try this solution, it works for me (no need for DHCP)

Step 1 - using Hyper-V, start the server, after starting you can see two new network adapters added on the page (network sharing).

Step 2 - go to your visual studio IDE, where your application is running, using Emulator, starting the application, after starting try to open IE, it will not connect to the Internet.

Step 3 - now go back to the network sharing page by right-clicking on the external adapter that was created for the new properties by clicking on the sharing tab, now check the two options to check the box, if not check the two options and click OK.

Step 4 - An internal adapter that was created recently will change the domain name from the Unidentified Network to your common domain name after you change the attempt to access IE again in an emulator that is already running. now i hope the internet connection will work.

Thank,

Baskar

0
Feb 21 '13 at 12:01
source share

After spending about 3 days on this, I finally started to work. (on Windows 8 using WiFi)

  • Run Fresh, uninstall HyperV, reboot, install Hyper V, reboot
  • Open the VS solution and run the emulator.
  • When prompted to allow the emulator Internet access, say yes.
  • Let the emulator and your project load completely
  • Turn off the emulator and VS
  • Open Network and Sharing Center
  • Click "Change adapter settings" (left).
  • You must have a new adapter created by HyperV, they should be called "vEthernet (...)"
  • Those you are interested in are the vEthernet virtual switch (virtual switch) and vEthernet (internal switch of the internal Ethernet port, Ethernet port)
  • Open the vEthernet (Virtual Switch) properties and go to the sharing tab.
  • Select Allow other network users to connect and select vEthernet (Internal switch for internal Ethernet Ethernet port emulator) as an adapter
  • Ok, then open the vEthernet properties (Internal switch of internal Ethernet port of internal Ethernet port)
  • Disable Internet Protocol Version 6 and double-click Internet Protocol Version 4
  • Use the following IP address: 169.254.169.177 Subnet mask: 255.255.0.0
  • Click "Advanced", on the "IP Settings" tab, assign an interface metric: 1
  • Open VS and re-run the project under the emulator, wait a few minutes to download it.
  • Try opening IE in the emulator and make sure you have Internet access.

Good luck.

0
Dec 12 '13 at 8:39
source share

After 3 days, we finally decided. We had to make the ip address dynamic. After creating a dynamic emulator, you can get to the Internet. We did not need to change anything.

0
Jan 11 '14 at 7:14
source share

Good article: http://blogs.msdn.com/b/wsdevsol/archive/2013/10/01/why-can-t-the-windows-phone-emulator-go-online.aspx

I had DHCP reservations on my router, as @robertftw said. I set up a static IP address for the vEthernet adapter (internal Ethernet port for Windows Phone Emulator Internal Switch) , and everything works.

0
Mar 24 '14 at 1:53
source share

Turning off Wi-Fi and virtual Wi-Fi inside Network Connections worked for me.

0
Jan 14 '15 at 10:15
source share

My Windows Phone emulator was assigned a DHCP IP on a different subnet for the one I am using.

Manually assigning an IP address on the same subnet as my computer to the vEthernet port created by Hyper-V solved this problem.

0
Mar 30 '15 at 18:02
source share



All Articles