> Sorry, I don't know how Windows internally resolves "localhost". What I
> wanted to say is, that the "hosts" file has not been modified on that
> system - by default it does not contain any entries. This seems to have
> changed since some Windows versions, as e.g. Windows Vista contains
> "127.0.0.1 localhost" and " ::1 localhost" by default
> in its hosts file, but starting with Windows 7, the hosts file only
> contains comments by default, with the hint "localhost name resolution
> is handled within DNS itself".
>
> I just wrote a small C# program to see how .Net resolves "localhost":
>
> private static void Main(string[] args) {
> IPAddress[] addresses = Dns.GetHostAddresses("localhost");
> foreach (IPAddress a in addresses) {
> Console.WriteLine(a.ToString());
> }
>
> Console.ReadKey();
> }
>
>
> When I run it on the server machine, it prints the normal IPv4 and IPv6
> loopback addresses:
> ::1
> 127.0.0.1
>Perhaps this might be the reason why it doesn't work in my case - on our servers and workstations ipv6 is disabled, the registry setting is [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters] "DisabledComponents"=dword:000000ff See the discussion on http://social.technet.microsoft.com/Forums/en-US/d7bfc3f0-1ea7-43e9-aaae-7b1d5c0b5c51/how-to-disable-ipv6-in-registry?forum=windowsserver2008r2networking about ff and ffffffff I'll try to check my settings with the C# program. Regards, Jessica
smime.p7s
Description: S/MIME cryptographic signature
