Tomcat's Port Usage - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997000

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:

  1. Open the following file in an editor:
    <tomcatdir>\conf\server.xml 
    The file for EnableServerTomcat is:
    <drive>:\Enterworks\EnableServer\tomcat\confconf\server.xml 
  2. 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:

  1. Edit the file:
    <tomcatdir>\conf\server.xml 
    The file for EnableServerTomcat is:
    <drive>:\Enterworks\EnableServer\tomcat\confconf\server.xml 
  2. 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" /> 
  3. Restart all EnterWorks services.