Unable To Launch Web Server

2019-01-14 05:08发布

I have asp.net web application project in visual studio 2012. When I want to start it, I have the following error:

Unable to launch the IIS Express Web server: Port"4012" is in use

This problem came from nothing.How can I resolve it ?

21条回答
一纸荒年 Trace。
2楼-- · 2019-01-14 05:52

Simply restarting the computer fixed this for me.

查看更多
走好不送
3楼-- · 2019-01-14 05:52

In web.csproj change the port number

<DevelopmentServerPort>56048</DevelopmentServerPort>
查看更多
我只想做你的唯一
4楼-- · 2019-01-14 05:55

Please remove your project .vs folder and applicationhost.config file and then run your code.

enter image description here

查看更多
登录 后发表回答