Disable IPv6 in Windows 2008 server

I had to setup an Azure VM with classic Windows 2008 server and hit this strange issue.

The localhost IP address was always resolving to :::1 address despite removing the properties in the ethernet adapter!. The hosts file also has localhost mapped to 127.0.0.1 IP address statically(verified not going to DNS!).

Some software that bind to this address cannot be reached by other clients since they don’t resolve the IP addresses properly!. So this URL came very handy. It seems the v6 is always resolved before v4 addresses, hence you need disable it in registry to change the behaviour of OS!. Surely Windows has taken the lead here to push to v6 ahead of linux implementations!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s