Tuesday, June 10, 2014

Connecting Windows Phone 8 Emulator to localhost.

A while back I blogged on connecting to localhost from windows phone emulator.  I was trying out a new dev build today and having issues.  Debugging was failing to connect on my VS 2013 build. I realized that I was having firewall issues.
I started by turning off all the firewalls to determine if this was the issue. Once the firewall was down I was able to connect from the emulator to localhost. I then modified the netsh command.

Change the profile to public on the firewall connection.

> netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=58938 profile=public remoteip=localsubnet action=allow

No comments:

Post a Comment