Op 23-11-2012 20:06, Christopher Schultz schreef:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zorro,

On 11/22/12 5:07 PM, Zorro wrote:
Hi,

I tried to use the Apache Tomcat Native Library 1.1.24 using APR
version 1.4.6 with my Tomcat 7.0.32 server but after installing it
I cannot connect over ipv4.

Using Tomcat with the Native Library on Fedora 14 everything starts
up fine. However a telnet 127.0.0.1 80 gives a 'Connection
refused'. But with a telnet ::1 80 I can connect to Tomcat!

Using the http-bio-80 connector I can connect to Tomcat over ipv4
as well over ipv6. Both telnet 127.0.0.1 80 and telnet ::1 80 do
connect to Tomcat.

Is there a way to use the Apache Tomcat Native Library also for
ipv4 connections?
Try setting address="127.0.0.1" in your <Connector>. Or "0.0.0.0" if
you want to listen on all IPv4 interfaces.

- -chris
Hi Chris,

Thank you for your response.

Indeed setting the address attribute to 0.0.0.0 in the <Connector> element solves the issue.

Tomcat is then indeed listening to all IPv4 interfaces. Though connecting over IPv6 is not possible then.

Regards,
Harm-Jan Zwinderman


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

Reply via email to