Hi,

> -----Original Message-----
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Sent: Monday, August 22, 2011 5:35 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 5.5.28 on 64 bit windows server 2008.
> 
> 
> 
> Allow me to clear that up:
> 1) If no "address=" parameter is given in the <Connector> when running
> under Windows 2008/Vista/7, then the APR will only bind to the IPv6
> "any" address of [::] for the specified port.
> 2) If you need IPv4 support under APR, you will need to either specify
> the "address=0.0.0.0" parameter to get the IPv4 "any" address, or
> specify the actual IP address to listen on.
> 3) If you need to support both IPv4 & IPv6, you will need to set up two
> connectors, one for each protocol.
> 4) This only applies if you are using the APR/native libraries.
> 
> This was originally discussed on this list in May of 2010, and I think
> this was determined to be due to Microsoft deciding to implement two
> protocol stacks, but no one was exactly sure.
> 
> Also, this only applies to APR/native version 1.1.12 and later, but I
> doubt anyone really wants to use the earlier versions any more.

This seems to only apply to Tomcat 5.5.x, however. When Tomcat 7.0.20 and
Tomcat 6.0.33 are run on a Windows 2008 machine without editing the config
and using the (default) HTTP-APR / AJP-APR connectors, they only bind to the
IPv4 "any" address. Only Tomcat 5.5.x binds to the IPv6 address, by default.
Maybe 7.0.x and 6.0.x have been changed to use the IPv4 any address by
default with the APR connectors, but not 5.5.x.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to