https://bz.apache.org/bugzilla/show_bug.cgi?id=61171

            Bug ID: 61171
           Summary: Add port offset attribute (portOffset?) to Server
                    configuration in server.xml
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: csuth...@redhat.com
  Target Milestone: -----

An option that would allow users to set a port offset in the configuration (or
with a system property) would be great for creating new instances on the same
machine. Such an option would prevent the need for manually updating the
connectors, etc in the server.xml for each new installation on the same host.
With this option in place, users could simply unzip multiple installs and then
start each with a different offset out of the box rather than updating multiple
places in the server.xml.

As an example of the implementation, setting the option to 100 would
add 100 to all port bindings on the server (e.g. with a vanilla
install it would cause tomcat to run on 8105, 8180, and 8109 rather than 8005,
8180, and 8009). It should also be noted that this same offset should apply to
ALL port bindings and references, include the redirectPort.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to