Introduction
Today I encountered the issue "Unable to launch the IIS Express Web Server" while I was running my Visual Studio 2012. So I thought of sharing how to resolve that issue. I hope it will help someone.
Please read this article in my blog.
Background
In my team we have 5 to 10 members. Since we wanted to do a build for our current application, I used "Get the Latest files from the server". (We are using TFS.) Then when I run my application I was getting this error.
The cause of this error is, someone has checked in the solution file with his port number (the port number he was using). When I took the latest, it was set in my solution file also. We must take the latest solution file only when it is required. So here I will share the remedy for the preceding issue.
Procedure to solve this issue
Step 1
Right-click on your solution and select Properties as shown in the following figure.

Step 2
Select “Web” from the left menu.

Step 3
Under “Use local IIS server” change the port number from http://localhost:58030/ to another one.

Step 4
Here I have changed http://localhost:58030/ to http://localhost:58031/ .
Bingo! We have done it.

Step 5
Now please run again your application. The issue will be solved.
Kindest Regards
Sibeesh
http://sibeeshpassion.com/
Background
In my team we have 5 to 10 members. Since we wanted to do a build for our current application, I used "Get the Latest files from the server". (We are using TFS.) Then when I run my application I was getting this error.
The cause of this error is, someone has checked in the solution file with his port number (the port number he was using). When I took the latest, it was set in my solution file also. We must take the latest solution file only when it is required. So here I will share the remedy for the preceding issue.
Procedure to solve this issue
Step 1
Right-click on your solution and select Properties as shown in the following figure.

Step 2
Select “Web” from the left menu.

Step 3
Under “Use local IIS server” change the port number from http://localhost:58030/ to another one.

Step 4
Here I have changed http://localhost:58030/ to http://localhost:58031/ .
Bingo! We have done it.

Step 5
Now please run again your application. The issue will be solved.
Kindest Regards
Sibeesh
http://sibeeshpassion.com/

Rohin SharmaPosted Feb 29, 2024, 5:53 AM
I have try above solution to my api but problem still "Unable to Launch the IIS Express Web Server" persists .
Rashmi RansinghPosted Sep 9, 2019, 5:47 PM
Thank you sir, it worked for me, you are saving lives. Otherwise using these apps with these errors would have killed developers. People who hav this issue, still. please run VS as an administrator and try using the steps.
Dharmendra Kumar PanditPosted Sep 3, 2019, 8:52 PM
Thank you sir your article is working fine.....
Prasad KulkarniPosted Jun 15, 2019, 1:32 AM
It don't worked pls help me alternate solution.
kathir mPosted Nov 16, 2018, 1:53 AM
Delete .vs folder is worked for me, thank you
Gustavo ZatorrePosted Sep 25, 2018, 6:25 AM
Excellent, it worked ok. thanks
Dinesh Kumar SharmaPosted Jan 4, 2018, 9:40 AM
You have change project url port on Step-2 screenshot and save after that run fine.
Indranil DasPosted Oct 26, 2017, 2:37 AM
It didn't worked for me. I have two separate projects. From 1st project i am able to run. But from second it gives error "Port '80' is in use". My project url is "http://localhost/XXXXX". I tried changing it to "http://localhost:58031/" or "http://localhost:58031/XXXXX" from local IIS; but it didn't worked. My VS version is 2015
Amanullah HoquePosted Oct 14, 2017, 2:07 AM
Not solve. Still Same problem. VS 2015 Enterprise version
Sibeesh VenuPosted Nov 15, 2016, 8:59 AM
Upendra Pratap Shahi Thanks much for your feedback.
Sibeesh VenuPosted Nov 15, 2016, 8:58 AM
Manav Pandya Glad it helped you. Thank you
Upendra Pratap ShahiPosted Nov 14, 2016, 5:35 AM
Nice one share Sibeesh Venu sir..............................
Manav PandyaPosted Nov 12, 2016, 10:20 AM
I have encountered this one today and see i have solved , thanks sir
Sibeesh VenuPosted May 4, 2016, 12:57 PM
Sr Karthiga Thanks much
Sr KarthigaPosted Feb 23, 2016, 7:45 PM
good one
Sr KarthigaPosted Feb 23, 2016, 7:45 PM
Nice explanation
Sibeesh VenuPosted Sep 2, 2015, 6:52 AM
Rakesh Chavda Thank you
Sibeesh VenuPosted Sep 2, 2015, 6:52 AM
Upendra Pratap Shahi Thank you
RakeshPosted Sep 2, 2015, 6:49 AM
Good info
Upendra Pratap ShahiPosted Sep 2, 2015, 3:09 AM
nice share sir
Sibeesh VenuPosted Sep 2, 2015, 1:12 AM
Ankit Bansal Thank you
Sibeesh VenuPosted Sep 2, 2015, 1:11 AM
Karthikeyan K Thank you.
Ankit BansalPosted Sep 2, 2015, 12:43 AM
good one..buddy
Karthikeyan KPosted Sep 2, 2015, 12:37 AM
Good one Sibeesh sir...Thanks for shairng
Sibeesh VenuPosted Sep 2, 2015, 12:25 AM
Yashwanth Muthineni Thank you
Sibeesh VenuPosted Sep 2, 2015, 12:24 AM
Rahul Prajapat Thank you
Sibeesh VenuPosted Sep 2, 2015, 12:24 AM
Pankaj Kumar Choudhary Thank you
Sibeesh VenuPosted Sep 2, 2015, 12:24 AM
Rajeesh Menoth Thank you
Sibeesh VenuPosted Sep 2, 2015, 12:24 AM
Mohammed Ibrahim Thank you
Yashwanth MuthineniPosted Sep 2, 2015, 12:18 AM
Nice Article sir
Rahul PrajapatPosted Sep 1, 2015, 10:55 PM
Nice share sir
Pankaj Kumar ChoudharyPosted Sep 1, 2015, 2:42 PM
Nice Article Sir..........
Rajeesh MenothPosted Sep 1, 2015, 2:41 PM
Nice One, Thank you for sharing..
Mohammed IbrahimPosted Sep 1, 2015, 2:23 PM
nice
Shridhar SharmaPosted Sep 1, 2015, 12:36 PM
Hi Sibeesh ,I am unable to open IIS Manager in my Windows 7 Home Basic.How can I open IIS Manager in Windows 7 Home Basic ? Should I upgrade to other versions of Windows(professional or ultimate)?
Sibeesh VenuPosted May 20, 2015, 12:32 AM
ramu nunna Welcome. Thank you
Sibeesh VenuPosted May 20, 2015, 12:32 AM
Priya Dharshini Thank you !. Glad it helped you.
Ram NunnaPosted May 19, 2015, 11:41 PM
Thanks
Priya DharshiniPosted May 8, 2015, 3:04 AM
Thanks a lot. Helped me really.
Sibeesh VenuPosted Jan 21, 2015, 10:13 PM
Sumit Jolly Yeah sir, I could understand. And that option is also a good one. I think you have experience in hand in all the technology... Great sir. Thanks for your suggestion.
Guest UserPosted Jan 21, 2015, 7:18 PM
@Shibeesh Venu that's fine you dont want to kill that port. I was jus giving an option.
Sibeesh VenuPosted Jan 21, 2015, 9:11 AM
Sumit Jolly But I don't want to kill that existing port, since it may be used by others also
Sibeesh VenuPosted Jan 21, 2015, 9:10 AM
Sumit Jolly Yeah, Thanks for your update.
Guest UserPosted Jan 21, 2015, 8:55 AM
You can do via Task manager or via comamnd prompt!
Guest UserPosted Jan 21, 2015, 8:54 AM
The other way to keep the same port is to kill existing port!