Ryan Ternier

Killer ASP.NET ninja coding monkeys do exist!

Hosts file auto updated to IP v6…

We had an issue today at work. A few developer machines couldn’t debug any ASP.NET 2.0 web application. After an hour of looking, we found out that some of our host files had the entry:

::0       localhost

instead of:

127.0.0.1     localhost

If you are getting issues with trying to debug your ASP.NET Website (Like the following):

image 

image

Check your hosts file to make sure it’s correct.

Comments

Craig said:

I just had the same thing. One minute VS2008 is working nicely, next minute nothing works. After spending 20 minutes rolling back code I had just written to try and find the problem I had to delve deeper to find the hosts problem.

# March 9, 2009 9:57 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)