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 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the MSDN library
To change the port used by IIS Express to run your program you should follow the procedure outlined by this article on MSDN
How to: Specify a Port for the Development Server
In short, we need to edit the file
%systemdrive%:\Users\<username>\Documents\IISExpress\configand change the binding information found in this file and change other configurations for the IIS Express.As a consequence of this not so simple way to fix the problem, I recommend to close the application that tries to use that port access on you dev computer. Look for specific tools like TCPView from Microsoft that could help to spot the application that grabbed your port. Often it is only the browser