The default port for Tomcat (and other "secondary" web servers / servlet containers) is 8080.
If multiple services are configured for this port, or you need to install multiple Tomcat instances on the server, you can change this port value in $ {CATALINA_HOME} /conf/server.xml.
Is there a standard for specifying port numbers that other installations should use? Is there a standard approach + 1 / + 10 / + 100 / + 1000 that is usually followed? Is there a way to determine if there are conflicts without choosing something and just trying to do it?
Also, in server.xml by default:
<Server port="8005" shutdown="SHUTDOWN"> <Connector port="8080" protocol="HTTP/1.1" redirectPort="8443" /> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
For additional Tomcat installations, should all of them be renumbered / included? Should they follow the same renumbering strategy?
source share