| Author |
changing Tomcat port
|
Eric Bic
Greenhorn
Joined: Apr 12, 2004
Posts: 7
|
|
hi could anyone tell me how i change the port for tomcat, i set it to 8080 when i installed it but i want to change it, im using the tomcat provided with java web service developer pack 1.3 thanks for your help eric
|
 |
Chris Stehno
Ranch Hand
Joined: Feb 26, 2001
Posts: 180
|
|
Its actually pretty simple. Open the server.xml file for the Tomcat you want to change (TOMCAT_HOME/conf/server.xml) and find the CoyoteConnector Connector element. There is an attribute of that element called port. In your case it should currently be set to 8080... just change it to the new port number you want. Save the file and restart your server. Note: I am assuming that you are using Tomcat stand-alone (no Apache front-end).
|
- Chris Stehno, SCPJ
|
 |
 |
|
|
subject: changing Tomcat port
|
|
|