When running asp.net project I get: Internet Explorer cannot display the webpage

asp.netasp.net-2.0asp.net-3.5visual-studio-2005

I recently installed vs2005 with sp3.5 on a new vista computer.
Never had Visual Studio installed on this computer.

whenever i'm building a web project, i receive the following: "Internet Explorer cannot display the webpage".

I can't run any of my projects…

Thanks

Best Answer

This is because the system blocks the name localhost with a port number. If you replace the word localhost and type 127.0.0.1 it should work.

To fix this issue, open the hosts file "C:\Windows\System32\drivers\etc\hosts" and comment the line "::1 localhost" and then retry.

Please note that this line is required by IP v6 and should not be removed if you are using it.