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 AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work
Date Thu, 03 Apr 2014 12:17:02 GMT
> A bit guessing here :
> 
> You have :
>  > worker.ajp13w.host=localhost
> 
> and
> 
>  > jk_open_socket::jk_connect.c (735): connect to 0.0.0.0:8009 failed
> > (errno=49)
> 
> is "localhost" == 0.0.0.0  ?
> 
>  From the point of view of mod_jk/isapi, should it not be "127.0.0.1" ?

Your answer points to the right direction.
0.0.0.0 means: any configured IPv4-Address on this computer, see

http://serverfault.com/questions/78048/whats-the-difference-between-ip-addre
ss-0-0-0-0-and-127-0-0-1

In principle this is ok at first. The Ajp13 Connector was configured in
server.xml to listen at any IPv4 address on port 8009 - which is the default
setting. But the connector can't find any suitable address.

The problem is: The new Tomcat-Connector can't parse
"worker.ajp13w.host=localhost", instead localhost must be replaced with
"127.0.0.1", this works!

In my eyes this is a big fat bug, because most documentation on workers use
"localhost". localhost is actually the default for the "host" connection
directive.

The new worker directive "prefer_ipv6" doesn't change this behavior.

Regards,
Jessica







Mime
View raw message