“Unable to launch the IIS Express Web server” error

前端 未结 25 2787
梦谈多话
梦谈多话 2020-11-30 02:48

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

25条回答
  •  余生分开走
    2020-11-30 03:17

    I fixed it with the following steps:

    • Close Visual Studio
    • Run netsh http show urlacl and see if your application http address/port is listed.
    • Run netsh http delete urlacl url=[ADDRESS] replacing [ADDRESS] with the Reserved URL shown by the previous command. For example http://+:17560/
    • Run VS again (as Admin) then go to web project's Properties -> Web then click on Create Virtual Directory button.
    • Now you should be able to run the web project.

提交回复
热议问题