I installed Tomcat5 on CentOS 5.3, by default tomcat runs on port 8080 but i already have ISPConfig running on that port.
Port 80 is taken up by Apache
How do I know which port tomcat is listening on ? and if required change the port.
I installed Tomcat5 on CentOS 5.3, by default tomcat runs on port 8080 but i already have ISPConfig running on that port.
Port 80 is taken up by Apache
How do I know which port tomcat is listening on ? and if required change the port.
In server.xml (usually in /etc/tomcat), there's a block starting
<Server port="xxxx">
or similar, where xxxx is the port your server is listening on, this will tell you where the server is listening. Changing the port is easy, just change this setting and restart tomcat.
Alternatively run netstat -anp
and it will tell you which program is using which port.