Trouble connecting to the Visual Studio webserver this week?


Quite a few people started reporting having issues connecting to Cassini earlier in the week. I’ve seen blog posts, tweets and internal mail threads as people who had a working environment one day found the could no longer connect the next.

The solution is to re-add:

127.0.0.1 localhost

to your hosts file (%windir%\System32\drivers\etc). So your hosts file should at least contain the entries:

127.0.0.1 localhost
::1 localhost

It appears the problem may have been related to an update to the signature file for Windows Defender. The signature file was fixed the same day (the fix is in signature versions 1.53.283.0 and above). Make sure you update to the latest signature file asap.

Comments (3)

  1. Imran Aziz says:

    Had the same issue two days ago, and end up spending two to three hours to get it sorted , blogged about it here

    http://info4tech.wordpress.com/2009/03/10/visual-studio-2008-internal-web-server-stopped-working-in-vista/

  2. thnks guys says:

    Thanks guys I spent 2 hours trying to diagnose this issue.  I looked at port blocking, anti virus, i just installed IE 8 and thought that might be the casue.  How did you even think to look in the hosts file to resolve this issue?  Anyway good job, you saved me from uninstalling and reinstalling VS 2008. thanks.