Objective
I\'m looking for the simplest-possible, step-by-step setup process for debugging my ASP.NET MVC 4 application using my IP address as the U
Grant yourself permission to bind to both localhost and wildcard network adapters, configure IIS Express to bind to them, and open the port on your firewall. By using a wildcard, you don't have to reconfigure when your IP address changes.
Step details: (they assume a port number of 5555 - use your actual port instead)
Run these commands from a command prompt as Administrator:
netsh http add urlacl url=http://localhost:5555/ user="NT AUTHORITY\INTERACTIVE"
netsh http add urlacl url=http://*:5555/ user="NT AUTHORITY\INTERACTIVE"
In .vs\config\applicationhost.config (or for pre-VS2015, %USERPROFILE%\Documents\IISExpress\config\applicationhost.config), add a wildcard binding to your site. The result should look like this:
Open the firewall port for your IIS Express site. You can do this from an administrative command prompt:
netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=5555 profile=private remoteip=localsubnet action=allow