Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Gyrex/Administrator Guide/ChangingPorts

< Gyrex‎ | Administrator Guide
Revision as of 08:15, 25 September 2014 by Andreas.mihm.gmx.de (Talk | contribs) (Changing Ports in Gyrex)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Back to the top