Tomcat's Port Usage - EnterWorks - Precisely_EnterWorks - 3 - 3.1

EnterWorks Fusion

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks > Match and Merge
Precisely EnterWorks > Fusion
Version
3.1
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Fusion
Copyright
2023
First publish date
2007

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.