I receive this error when trying to launch IIS Express from Visual Studio with a project that\'s configured to listen to an address other than localhost. Visual Studio free
I had the same problem with Visual Studio 2012. I managed to resolve it by removing from C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config path unneccessary site entries. Alongwith running my VS2012 as an Administrator. Hope this helps
I spent 1 hour trying every recipe mentioned above. Then out of no where I restarted my computer, and tried again. And everything is fine now.
So please try restarting your computer before trying all the above mentioned solutions. It might help
Click the Solution and press F4. Then match the port from Right-click on solution and select Properties to the web tab port. The port no will be the same of both case F4 and Properties.
Deleting the unnecessary site entries from applicationhost.config file solved the issue for me.
I had this problem some days ago and all of above items could not help me. I have ESET Smart Security 5.0 on my SONY VAIO laptop which works in interactive mode! Finally I found the problem, ESET was blocking VS2012! In the past, ESET had asked me to allow the VS2012 to communicate with Microsoft, I had chosen "Deny Access" and ESET had mad a rule for denying VS2012. I omitted this rule from "ESET rules zone" and my issue was solved!
.vs
folder..vs
folder, you will see a config
folder in it. Delete its content.File
menu.I do not recommend deleting IIS Express folder or messing with the config file in it.