In recent sessions I did for ASP.NET 2.0, the one frequent question I got from audience is : How can I debug on random ports while my functionality of application depends on a specific port number? The internal web server uses random ports and exposes that as a property for your solution. So we can customize the port number very easily (shown below)

dynamic port

Chnage the property “Use Dynamic ports” to “false” and use your custome port number.

Custom_port