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
posted 11 years ago
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).