For Visual Studio 2015 and 2012 this solution will work.
- Go to Solution Explorer in Visual Studio, right click the web project and select “Unload Project”
- Next on the same project, right click and select ‘Edit Project File‘
- Find the
<DevelopmentServerPort>0</DevelopmentServerPort><IISUrl>http://localhost:56058/</IISUrl>
xml tags and and remove them. - Reload the project and run.
Images to follow: