Liberty: Default port numbers
Some parts of Liberty use default TCP/IP port numbers. We can override the default port numbers by specifying a different port number in your server configuration.
For the latest documentation about Liberty default port numbers, see the Open Liberty website.
Runtime environment port numbers
For the command port, the Liberty server acquires an ephemeral port to be used by the command listener. We can configure this port in the bootstrap.properties file.
See Specifying Liberty bootstrap properties.
Feature port numbers
The following table lists the default port numbers of Liberty features and an example of how we can override the default port in your server configuration.Feature | Default port and configuration example |
---|---|
collectiveController-1.0 | Replication port: 10010
<collectiveController replicaPort="10012"/>
REST and JMX connections depend on the restConnector-1.0 port. restConnector-2.0 is tolerated. |
ejbRemote-3.2 |
<iiopEndpoint id="defaultIiopEndpoint" iiopPort="2809"> <iiopsOptions iiopsPort="9402" sslRef="defaultSSLConfig"/> </iiopEndpoint>
|
servlet-3.0 |
<httpEndpoint id="defaultHttpEndpoint" httpPort="9082" httpsPort="9445" /> For more information about HTTP endpoints, see HTTP Endpoint (httpEndpoint). |
sipServlet-1.1 |
<sipEndpoint id="defaultSipEndpoint" sipTCPPort="5062" sipUDPPort="5062" sipTLSPort="5063" /> For more information about SIP endpoints, see HTTP SIP Endpoint (sipEndpoint). |
wasJmsServer-1.0 |
<wasJmsEndpoint id="InboundJmsEndpoint" wasJmsPort="7278" wasJmsSSLPort="7288"> </wasJmsEndpoint> For more information about WAS JMS endpoints, see WAS JMS Endpoint (wasJmsEndpoint). |