IIS Express Web Server - (Every) Port is in Use?

2019-03-15 02:06发布

Today I installed VS2010 SP1 Beta, and IIS 7 Express, as I currently have IIS5 on my local development machine and thought I'd try IIS Express out.

I have gone into the properties window for my Web Application, checked the 'Use IIS Express' checkbox, created the Virtual Directory when it has prompted me, but then get the message "Unable to launch the IIS Express Web Server. Port x is in use".

I have tried changing the port number from the default value that was in there, to numerous other port numbers, but whatever value is there, I am always getting this message, and am therefore unable to use the IIS Express Web Server.

Does anyone know what the problem might be, and how to get around it?

8条回答
混吃等死
2楼-- · 2019-03-15 02:54

I have the same problem in the visual studio 2012.

I am creating a sharepoint app for the SharePoint 2013 and it happened after some days means it was working before then I got the error:

" Unable to Launch IIS web Server " "port 62308 in use.

To fix this I just went to the settings of the web project by right clicking on the project node in in right panel under the project solution tab. Change the port number and configure the virtual directory and it worked for me.

Hope it work for anyone else in case he/she has any problem.

查看更多
We Are One
3楼-- · 2019-03-15 02:56

1- Close Visual Studio.

2- Delete IIS Express folder in Documents or edit applicationhost.config:

<bindings>
  <binding protocol="http" bindingInformation=":8080:localhost" />
</bindings>

3- Delete solution file.

4- Start Visual Studio and use open website.

5- Choose your website folder.

查看更多
登录 后发表回答