Bug#563699: tomcat6: not listening on IPv4 socket by default
Marc A. Donges
kosh at hadiko.de
Mon Jan 4 18:00:57 UTC 2010
Package: tomcat6
Version: 6.0.20-9
Severity: important
In current versions of squeeze, the default value of IPV6_V6ONLY is
true:
ganymede:~# cat /etc/sysctl.d/bindv6only.conf | egrep -e '^([^#])'
net.ipv6.bindv6only = 1
This causes tomcat6 to not accept IPv4 connections by default, as it
only binds to an IPv6 socket and apparently doesn't change the
IPV6_V6ONLY socket option from its new default value.
ganymede:~# uname -a
Linux ganymede 2.6.30-2-kirkwood #1 Sun Sep 27 22:57:55 UTC 2009 armv5tel GNU/Linux
ganymede:~# nc -v localhost 8080
Connection to localhost 8080 port [tcp/http-alt] succeeded!
ganymede:~# nc -v -4 localhost 8080
nc: connect to localhost port 8080 (tcp) failed: Connection refused
More information about the pkg-java-maintainers
mailing list