Default Tomcat Ports
By default, instances of Tomcat use the ports:
- 8005: Shutdown Port
- 8080: HTTP Port
- 8009: AJP Port
When EnterWorks is installed, EnableServerTomcat
is configured to use the
ports:
- 8015: Shutdown Port
- 8090: HTTP Port
- 8109: AJP Port
Determine which ports a Tomcat instance is using
To determine which ports a Tomcat instance is using:
- Open the following file in an editor:
The file for<tomcatdir>\conf\server.xml
EnableServerTomcat
is:<drive>:\Enterworks\EnableServer\tomcat\confconf\server.xml
- The settings that define the ports used are:
<Server port="<shutdown-port>" shutdown="SHUTDOWN">
<Connector port="<http-port>" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
<Connector protocol="AJP/1.3" address="::1" port="<ajp-port>" redirectPort="8443" />
Change which ports a Tomcat instance is using
To change the ports for an instance of Tomcat:
- Edit the file:
The file for<tomcatdir>\conf\server.xml
EnableServerTomcat
is:<drive>:\Enterworks\EnableServer\tomcat\confconf\server.xml
- Replace the existing port numbers with the new numbers. The settings that define the
ports used are:
<Server port="<shutdown-port>" shutdown="SHUTDOWN">
<Connector port="<http-port>" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
<Connector protocol="AJP/1.3" address="::1" port="<ajp-port>" redirectPort="8443" />
- Restart all EnterWorks services.