Hello I'm trying to run IIS do Visual Studio 2015 ASP.NET Empty Web
site to work on my network so I changed this file
... \ Documents and Settings \ Visual Studio 2015 \ Projects \ MyProject \ .vs \ config \ applicationhost.config
<site name="meuProjeto(2)" id="4">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\Nataniel\Documents\Visual Studio 2015\WebSites\meuProjeto" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:61914:192.168.0.104" />
</bindings>
</site>
Note that I put the local ip of my machine
So I excused this command in cmd in admin mode
netsh http add urlacl url=http://192.168.0.104:61914/ user=todos
He gave me the message that was added, so I executed this
netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=61914profile=private remoteip=localsubnet action=allow
He gave me the message OK
But when I try to run it gives me the message
unable to connect to the configured web development server
If I type link in the browser before giving the error it is working, but after the error and it does not work anymore
I tried to close vs and reopen the pc again, but when I do this it creates another Tag Site in the applicationhost.config with the name meuProjeto(X)
with the bindingInformation
with *:61914:localhost
in this way it displays this message
unable to connect to the configured web development server Failed to register URL " link " for site myProject (2) application "/". Error Description Access Denied. (0x80070005)