Windows – Visual Studio 2008 + embedded web server on Windows Vista

visual-studio-2008windows-vista

OS: Windows Vista Business SP1

IDE: Visual Studio 2008 SP1

Question: when I create a new web application in VS 2008 and start it, the embedded web server from VS 2008 launches on one port (say 50140). Then the browser (IE7) automatically launches with address http://localhost:50137/…, note the different port number. Obviously, there is nothing on IE-requested port. What should I do to have IE launching on the same port as the server launches on? For Windowx XP, this problem does not occur…

Best Answer

You could check the web launch options in the project properties. It may be hard coded to load a specific URL - maybe from a previous run.