tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kapil Sharma" <>
Subject 2 instance of tomcat and port problem
Date Wed, 26 Feb 2003 13:22:20 GMT
I am running two instance of tomcat on same server. Tomcat version 3.3.1 and
4.1.12. Tomcat 3.3.1 is using ports 8000, 8007 and 8009.
I have changes server.xml and file of tomcat 4.1.12 to
change the ports to 8080, 8006 and 8020.
When tomcat starts I can connect to port 8080 without any problem but when I
try to connect to tomcat using apache , it does not work. My apache is
configured properly.
I know the reason of this problem but don't know the solution. The problem
is tomcat does not want to listen on port 8020 even if I changed the port to
8020 in server.xml/ Followings is calalina.out startup output:

Feb 26, 2003 12:36:23 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Feb 26, 2003 12:37:33 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Feb 26, 2003 12:37:33 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 Address already in use
Feb 26, 2003 12:37:33 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8010
Feb 26, 2003 12:37:33 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=3/45

As you can see in the above logs tomcat selects port 8010 automatically and
listen on this port.

How can I change the port to 8020?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message