tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: IPv6 question
Date Mon, 31 Oct 2011 12:31:00 GMT
Issac Goldstand wrote:
> Hi Tomcat community
> 
> I'm planning to give a short blurb on IPv6 support in Tomcat at
> ApacheCon next week, but as I'm not a heavy Tomcat user, can someone go
> over the following information and correct me if I've mis-stated something?
> 
> * IP binding is handled by the underlying JRE or via APR if tcnative is used
> * If <Connector> only specifies a port, then addresses 0.0.0.0 AND ::
> are assumed
> * Otherwise, specify address parameter:
> - IPv4 as “x.x.x.x”
> - IPv6 as “[x:x::x]”
> 
> Sample config:
> 
> File: server.xml
> <Connector port=“8080”
> address=“85.195.98.140”
> address=“[2a01:7a0:3:200::2:2]”
> protocol=“HTTP/1.1”
> …
> />
> 
> Also, if there are any other points that bear mentioning, I'd be happy
> to add them.
> 
I don't think that one can have multiple addresses per <Connector>.
In your example above, you may need two separate <Connector>'s.

<Connector port=“8080”
  address=“85.195.98.140”
  protocol=“HTTP/1.1”
/>
<Connector port=“8080”
  address=“[2a01:7a0:3:200::2:2]”
  protocol=“HTTP/1.1”
/>
See http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation


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


Mime
View raw message