tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alten, Jessica-Aileen" <Jessica-Aileen.Al...@liag-hannover.de>
Subject RE: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work
Date Tue, 08 Apr 2014 07:34:22 GMT
> 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



Mime
View raw message