Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why my Tomcat 5 open many ports ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chy168
n00b
n00b


Joined: 12 Mar 2005
Posts: 70

PostPosted: Mon Sep 05, 2005 8:36 am    Post subject: why my Tomcat 5 open many ports ? Reply with quote

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
View user's profile Send private message
ekutay
l33t
l33t


Joined: 30 Mar 2005
Posts: 636
Location: Berlin

PostPosted: Mon Sep 05, 2005 11:19 am    Post subject: Reply with quote

Probably your coyote connector. Check your server.xml in the config directory. You should find the mentioned ports.
_________________
-- erol
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum