Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Gyrex/Administrator Guide/ChangingPorts
Contents
Changing Ports in Gyrex
While the jetty ports for the provided applications can easily be configured in the Gyrex admin UI, there are some more ports, which are involved in a Gyrex runtime environment
Gyrex Admin UI port
The http port for the gyrex admin ui can be configured with the system/startup property gyrex.admin.http.port Without this setting the default port is 3110
Zookeeper port
The port for the embedded ZooKeeper can be configured with the system/startup property gyrex.zookeeper.port Without this setting the default port is 2181
Configuring a port offset
There are additional ports in a gyrex runtime environment for jmx connection and ssh console connection. In a development environment there is often the need to run several gyrex instances on one machine. To avoid port conflicts, gyrex provides a port offset property, which offsets (all) ports by the given offset The name of this property is gyrex.portOffset The ports effected by this offset are - admin ui port - zookeeper port - jmx port - ssh port - the default http port of jetty
Please note: the offset is only applied on a given port, if it still uses the default setting, e.g. if gyrex.zookeeper.port is set, then the offset property has no additional effect on the zookeeper port