André -
I've numbered your questions below.  Here's the possible answers:

(1) Probable bug in handling connections when APR library is loaded.  Not sure 
if bug is in Tomcat or APR code.
(2) Connections were most likely being tried via IPv4 only, but connectors were 
set up for IPv6 only. (Best I could determine from reading the thread.)
(3) Local browser made connection on IPv6 because it determined that 
destination was to localhost and used the appropriate loopback - which turned 
out to be IPv6.  It may have attempted the IPv4 loopback, and not getting an 
answer switched to the IPv6.
(4) Easy - create two <Connectors>, one with address="0.0.0.0" and the other 
with address="[::]", and both specifying port="8080".  Or drop the native 
library APR and just have the one connector with no address value.

Jeff

-----Original Message-----
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Friday, May 07, 2010 9:50 AM
To: Tomcat Users List
Subject: Re: Re : Re : Re : Tomcat 5.5.29 does not accept connections from 
outside

Eyrignoux Marc wrote:
> 
> Hi Charles,
> 
>> You can try setting the address attribute of your <Connector> 
> elements to "0.0.0.0" to force IPv4.
> 
> It works, thank you !!!!
> NB: Other people might experience the same problem. I don't know where it 
> comes from, may be from an interaction between Windows Server 2008 and Tomcat 
> 5.5.29 ?
> 
May I jump in to add somewhat to the question ?
Thank you.

Can someone explain this a little bit more in detail, or point to some 
rough explanation page somewhere ?
Basically :
(1) - why did that Tomcat 5.5.29 "listen only on IPv6" until it was forced 
to IPv4 by specifying "0.0.0.0" in the Connector ?
(2) - why, when Tomcat is listening (only) on IPv6 [::]:8080, does it not 
accept telnet connections on port 8080 ?
(3) - why, when Tomcat was listening (only) on IPv6 [::]:8080, did HTTP:8080 
connections from a browser on localhost work, but not the ones from 
other stations ?
(4) - can you set Tomcat to listen on /both/ IPv4 and IPv6 on port 8080 at 
the same time ?

Thanks for any pointers.

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



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and 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 or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.

Reply via email to