SPI Port Forward and Visual Studio 2013 (IIS Express)

I was in two minds about whether this message belongs in Qaru or Server Fault, so if I have the wrong area then apologize! I chose "Server Error" because, in my opinion, the only difference between the previous working solution and the current problem that I have is IIS Express.

I successfully used the SPI Port Forward to test local websites in the development environment when using Visual Studio 2010, but upgrading to Visual Studio 2013 and enabling IIS Express. I can no longer see my site when viewing from another device on the same network. As you can imagine, such functionality is invaluable when testing on mobile devices, as this means that I do not need to publish the site anywhere before testing.

Any ideas?

+3
source share
1 answer

Answer updated to include changing path to applicationhost.config file in VS 2015.

, , , , , , , , .

:

  • SPI Port Forward, IIS Express.
  • : C:\Users { Windows}\Documents\IISExpress\config ( VS 2015 {Solution root folder} \. vs\config)
  • "applicationhost.config".
  • , .
  • ", 8080 - , , 192.168.0.2 - IP- . .
  • cmd IP, 5: netsh http add urlacl url=http://192.168.0.2:8080/ user=everyone
  • cmd : netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=8080 profile=domain remoteip=localsubnet action=allow. IISExpressWeb, !

! IIS Express, .

, .

+8

All Articles