On 31 Oct 2011, at 14:47, Jeffrey Janner <jeffrey.jan...@polydyne.com> wrote:

>> -----Original Message-----
>> From: Issac Goldstand [mailto:mar...@beamartyr.net]
>> Sent: Monday, October 31, 2011 6:40 AM
>> To: users@tomcat.apache.org
>> Subject: IPv6 question
>>
>> 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
>
> [Jeff Janner]
> I'm not sure the above applies for APR, I've never gotten it to work (at 
> least not on Windows).
> It appears that APR defaults to IPV6 if no address is given.  If you look 
> back in this list for about a year to year & a half, you'll see much 
> discussion on this.  I am not positive that this has not been addressed yet, 
> as I've resorted to specifying address='0.0.0.0' in all my connectors since I 
> ran into the problem.  Give it a test and see.
> I think you are correct however for the JRE-based connectors.

-Djava.net.preferIPv4Stack


p


>
>> * 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.
>>
>> Thanks,
>> Issac
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
> __________________________________________________________________________
>
> Confidentiality Notice:  This Transmission (including any attachments) may 
> contain information that is privileged, confidential, and exempt from 
> disclosure under applicable law.  If the reader of this message is not the 
> intended recipient you are hereby notified that any dissemination, 
> distribution, or copying of this communication is strictly prohibited.
>
> If you have received this transmission in error, please immediately reply to 
> the sender or telephone (512) 343-9100 and delete this transmission from your 
> system.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

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

Reply via email to