Localhost problem with Debugging


New member
May 25, 2006
Programming Experience
I'm using Visual Studio 2008 on XP SP2. When I select the Start Debugging icon in the menubar, it starts up the ASP.NET Development Server and selects port number 1128 (or another random number). When IE starts, it goes to http://localhost:1126/........... where the localhost number is exactly 2 less than the port number assigned. Therefore I get an "Internet Explorer cannot display the webpage" message. If I correct the number in IE, the application debugging proceeds fine. But it always comes up 2 numbers short of what it should be. Any ideas on how to fix this?
Top Bottom