View previous topic :: View next topic |
Author |
Message |
chy168 n00b
Joined: 12 Mar 2005 Posts: 70
|
Posted: Mon Sep 05, 2005 8:36 am Post subject: why my Tomcat 5 open many ports ? |
|
|
hi,
I'm trying to figure out what the listening service netstat lists.
i try:
Code: | gentoo logs # netstat -alnp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 5023/java
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 5023/java
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 4895/mysqld
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 5023/java
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4949/apache2 |
and
Code: | gentoo logs # ps aux | grep 5023
tomcat 5023 0.0 15.7 265364 81252 ? S Sep04 0:07 /opt/sun-jdk-1.5.0.04/bin/java -Djava.endorsed.dirs=/opt/tomcat5/common/endorsed -classpath /opt/sun-jdk-1.5.0.04/lib/tools.jar:/opt/tomcat5/bin/bootstrap.jar:/opt/tomcat5/bin/commons-logging-api.jar -Dcatalina.base=/opt/tomcat5 -Dcatalina.home=/opt/tomcat5 -Djava.io.tmpdir=/opt/tomcat5/temp org.apache.catalina.startup.Bootstrap start |
but I don't know why the tomcat open the ports 8005, 8009 ?
thanks. :p |
|
Back to top |
|
|
ekutay l33t
Joined: 30 Mar 2005 Posts: 636 Location: Berlin
|
Posted: Mon Sep 05, 2005 11:19 am Post subject: |
|
|
Probably your coyote connector. Check your server.xml in the config directory. You should find the mentioned ports. _________________ -- erol |
|
Back to top |
|
|
|