“Unable to launch the IIS Express Web server.” in Visual Studio

前端 未结 27 2192
清酒与你
清酒与你 2021-01-30 00:44

I attempted to run my web service through visual studio. I faced an issue like :

---------------------------
Microsoft Visual Studio
---------------------------
         


        
27条回答
  •  忘掉有多难
    2021-01-30 01:12

    Port numbers do not match

    In my case the problem was in my Bindings Tags found in the config file in .vs under my solution folder, the port numbers did not match. The bindings were as follows

    
         
    
    

    And in my settings i had url set as http://localhost:1943/

    So what i did was to delete inside binding and run my web app, then it generated new binding with a different number then i copied the new generated port to my settings, then the error went away.

提交回复
热议问题