2

I am having an issue with my computer. My IIS services are not working.

I have narrowed it down to the fact that my computer cannot find itself via its name.

I try pinging my computer by its name and I get this:

C:\Users\18773>ping MyComputerNameHere

Pinging MyComputerNameHere [::1] with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.

Ping statistics for ::1:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

I tried having someone else ping my machine and it works fine for them.

Any ideas?

Vi.
  • 17,755
Vaccano
  • 6,806

2 Answers2

2

Since Vista and Server 2008, Windows prefers IPv6 whenever possible. In your case, Windows did prefer to lookup the AAAA record instead of the corresponding A record. Therefore, the host did ping ::1 and not 127.0.0.1 or any other IPv4 address.

How to disable the preference of IPv6: IPv4 vs IPv6 priority in Windows 7 at superuser.com.

There is a packaged solution available: MicrosoftEasyFix50410.msi. You can download it at microsoft.com. Look for Prefer IPv4 over IPv6 in prefix policies.

If you want to prevent ping from using IPv6 at all, then use the -4 option.

0

Turns out that my computer somehow has decided that my local connection is IP v6.

Not sure why. All other pinging uses v4. Anyway, once I enabled v6 on my network card, it started working again (though it shows v6 IP addresses)

Wish I knew how to tell it to use IP v4 again, but at least it is working.

Vaccano
  • 6,806