I assume you mean the port number in a visual studio project. If so this is easy to fix (For VS2010, but 2008 is similar):
- Right-click the host project
- Select "Properties"
- Select the "Web Tab"
- The "Use Visual Studio Development Server" option will be selected, as will "Auto Assign Port" choose "Specific Port" instead
Note you will have to assign a
different port for each host
project you want to assign a specific port to as they all can't listen on the same one at the same time (though the port will stay the same for the project as you wanted in your question). Also, these settings will be different to live so bear that in mind when you use it there :)