13

Is it possible to choose a fixed port for the Visual Studio 2010 debug webserver?

2 Answers 2

24

If it's similar to VS2008, you can do the following to fix the port number:

  1. Click on the web site project node in Solution Explorer
  2. Hit F4 to bring up the properties tool window
  3. Set "Use dynamic ports" to false
  4. Set "Port number" to whatever you need
0
9

Should appear as an option in the web project properties, 'Web' tab. By default its set to auto-assign but theres an option to set a specific port.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.