You change it in server.xml where the HTTP connector is specified.
You find server.xml under c:\$tomcathome$\conf\server.xml
Hope it helps
-reynir
-Original Message-
From: neha shah [mailto:[EMAIL PROTECTED]]
Sent: 11. desember 2002 15:29
To: [EMAIL PROTECTED]
Subject: urgent
You can change it to whatever you wish as long as it doesn't conflict with
any other. The default port for HTTP is 80. But Tomcat by default (if no
changes have been made to server.xml) listens on port 8080. Use netstat -an
(and grep for LISTEN if you are on a Unix box). This will tell you which
To chage the port:
1. Open server.xml file in your $TOMCAT_HOME/conf/ directory.
2. Find the section describing the main Tomcat Connector:
...Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=80...
3. Alter the port attribute.
-Original Message-
From: neha shah
Hello neha,
Switch the port that the http connector for Tomcat in server.xml is
pointing to. For instance...
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8081 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443