« Are you in Ireland next week? I am! Come along and win!F# - Things I learned today »

Who puts IPv6 entries in my hosts file?

27/03/08

Permalink 08:27:41 pm
Categories: General

Who puts IPv6 entries in my hosts file?

I just had a weird problem - for some reason IE wouldn't run my XAF (eXpressApp Framework) web applications (ASP.NET) anymore. At first I suspected some sort of installation problem, since I'd just installed the new 8.1.1 version, and not long ago this used to work just fine. But for some unrelated reasons I uninstalled and reinstalled, and the problem was still the same.

In the URL for the application, I tried replacing "localhost" with "127.0.0.1" and I found that this solved the problem. I ping'd localhost and I noticed that it was using ::1 as the address instead of 127.0.0.1 - the IPv6 equivalent. I looked in my hosts file and there was an entry in there, combining ::1 with localhost. Removing that entry solved the problem.

Now, this is a bit weird... I actually thought I didn't even IPv6 enabled at all, which would have explained why connections to ::1 wouldn't work. But I found that it was in fact active - not sure why, I believe I switched it off at some point. Pinging ::1 is not a problem. So why can't IE connect to it? And who added the ::1 entry to my hosts file recently? Or was it previously working in spite of that entry?

Bizarre Windows network stuff... see, that's why I still love Linux for my servers. Text based config files that never suddenly change automatically. Great.

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
Please enter the result of the calculation below. Hint: it's got two digits. A four and a two. :)
antispam test

Enter your email address:

Search

Oliver
MVP logo
July 2009
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31