I install CentOS 6.5 with the "Web Server" package selection and everything else as defaults.
I do a service tomcat6 start
, then a ss -ntlp
to confirm that Tomcat is listening on port 8080, as specified in the default Tomcat 6 /etc/tomcat6/server.xml. This is the output:
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::111 :::* users:(("rpcbind",1012,11))
LISTEN 0 128 *:111 *:* users:(("rpcbind",1012,8))
LISTEN 0 100 :::8080 :::* users:(("java",1561,37))
LISTEN 0 128 :::22 :::* users:(("sshd",1216,4))
LISTEN 0 128 *:22 *:* users:(("sshd",1216,3))
LISTEN 0 128 127.0.0.1:631 *:* users:(("cupsd",1102,7))
LISTEN 0 128 ::1:631 :::* users:(("cupsd",1102,6))
LISTEN 0 100 ::1:25 :::* users:(("master",1292,13))
LISTEN 0 100 127.0.0.1:25 *:* users:(("master",1292,12))
LISTEN 0 128 :::33081 :::* users:(("rpc.statd",1030,11))
LISTEN 0 128 *:33657 *:* users:(("rpc.statd",1030,9))
LISTEN 0 1 ::ffff:127.0.0.1:8005 :::* users:(("java",1561,39))
LISTEN 0 50 :::8009 :::* users:(("java",1561,38))
Does this mean that Tomcat is only listening on IPv6 instead of both IPv6 and IPv4? Why won't it work properly "out of the box", so to speak?