tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <>
Subject Re: Making connector defaault address as
Date Tue, 07 Nov 2006 10:46:02 GMT
Mladen Turk wrote:
> With Native connector if the OS supports IPV6 the
> default address (null) is translated to "::", thus
> it only listens to the IPV6 addresses. In case the
> OS doesn't support IPV6 (hardly to be found nowadays), the
> null address is equivalent to the address="".
> The same is for any Java connector because default is IPV4.

I'm not sure I understand the problem. If you say something like
tcp        0      0 :::8080                 :::*                    LISTEN      
means that no IPv4-only host is able to connect, this is not the case - at 
least not on my Linux machine where the above netstat-snippet comes from. I 
can connect to the Tomcat on this Linux box from an IPv4-only XP machine 
using the Linux' IPv4 address without any problems.

BTW: why is this situation special wrt the native connector?

> I would like to make default address as "" instead
> passing null to the Connector. Well at least to the APR
> connectors, so they behave like Java one.
> Anyhow, is there any reason that I'm missing that would
> prevent us to apply the:
> If address property for the connector is undefined
>     set it to the ""
> I personally see no reason how address=null is
> different for address=""
> Comments?

If you really make such a change, please do it in a way that allows me to 
easily revert it. Thanks.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message