Windows 2000, Windows XP and Windows Server 2003:
Windows Server 2008 and Windows Vista:
Windows 7, 8 ,8.1 and 10:
Since Windows 7 the localhost is resolved in the DNS resolver itself so the localhost entries of 127.0.0.1 and ::1
are commented out in the default Hosts. You can uncomment them if you wish but they will still be resolved
through the DNS resolver.