Use a Specific Port for the Development Server
Versions: 2008,2010
Published: 12/21/2010
Code: vstipProj0029
Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog!
If you are using a firewall on your operating system and/or just want to use the same port while you do web development you can configure Visual Studio to use a fixed port. To do this go to the project properties and click on the Web tab:
Now go to the Servers section:
And choose "Specific port" then assign a port number to use:
The project will continue to use the port number assigned instead of automatically assigning one.