Unable to launch the IIS Express Web server, Failed to register URL, Access is denied

后端 未结 30 2218
刺人心
刺人心 2020-12-07 08:11

Some web projects are causing me problems while others work fine. I decided to focus on one of the problematic ones. I\'m using Visual Studio 2013 on Windows 7. I think I\'m

相关标签:
30条回答
  • 2020-12-07 08:52

    This happened to me on Windows 10 and VS 2013. Apparently there is a maximum port number IIS Express handles. Ports above 62546 don't work for me.

    0 讨论(0)
  • 2020-12-07 08:52

    I write it for information.

    Delete the file in the project.

    After Clean>Build>Proje Start

    0 讨论(0)
  • 2020-12-07 08:53

    I ran into this same error message, but it looks like it was produced from IIS Express. This article helped me resolve it

    TL;DR

    Run the following command from an Administrative command prompt:

    > netsh http add iplisten ipaddress=::
    
    0 讨论(0)
  • 2020-12-07 08:53

    I ended up with cleaning the project file (csproj) and the applicationhost.config (iis express) with all entries regarding iis express configuration. After that, it worked.

    0 讨论(0)
  • 2020-12-07 08:55

    Go to the project "Properties" => "Web", and on the "Servers" section change the port to something else that is not used in and save it. You will be asked to created a virtual directory and click "Yes". Now run the project and it will work now.

    0 讨论(0)
  • 2020-12-07 08:56

    In my case it worked at first and after a while stopped working and IIS Express reported that the port was in use.
    netstat -ab showed that Chrome was using the port. After I quit Chrome, it started working again.
    I am not sure however, why Chrome would occupy that port.

    0 讨论(0)
提交回复
热议问题