Disable IPv6 on Loopback address (Localhost, Computer name, ...)

Posted by Greg Bray on Server Fault See other posts from Server Fault or by Greg Bray
Published on 2011-01-04T21:26:56Z Indexed on 2011/01/04 21:55 UTC
Read the original article Hit count: 302

We tried installing a 3rd party software product on a new Windows 2008 R2 server and found that everything works except for accessing local services through loopback addresses such as localhost or the computer name (ex: VPS-Web which resolves to localhost). We are not using IPv6 and would like to disable it until the software is compatible.

I tried using these instructions for disabling IPv6 on Windows 2008 R2 but it did not disable the protocol for localhost. Pinging localhost or VPS-Web will still return ::1: instead of 127.0.0.1. I can use ping localhost -4 to get the correct address, but IPv6 takes precedent over IPv4 so the 3rd party software only gets the IPv6 address.

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about IPv6