Liberty: Default port numbers

Some parts of Liberty use default TCP/IP port numbers. You can override the default port numbers by specifying a different port number in your server configuration.

Runtime environment port numbers

For the command port, the Liberty server acquires an ephemeral port to be used by the command listener. You can configure this port in the bootstrap.properties file. For more information, see Specifying Liberty bootstrap properties.

Feature port numbers

The following table lists the default port numbers of Liberty features and an example of how you can override the default port in your server configuration.
Table 1. Default port numbers of Liberty features
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.

ejbRemote-3.2
  • IIOP port: 2809
  • IIOP/SSL port: 9402
<iiopEndpoint id="defaultIiopEndpoint" iiopPort="2809">
     <iiopsOptions iiopsPort="9402" sslRef="defaultSSLConfig"/>
</iiopEndpoint>
rtcomm-1.0
  • MQTT over TCP port: 1883
  • MQTT over SSL port: 8883
<mqttTcpEndpoint id="defaultMqttEndpoint" 
    mqttTcpPort="1885" 
    mqttSslPort="8885"/>
servlet-3.0
  • HTTP port: 9080
  • HTTPS port: 9443
<httpEndpoint id="defaultHttpEndpoint"
    httpPort="9082"
    httpsPort="9445" />
sipServlet-1.1
  • TCP port: 5060
  • TLS port: 5061
  • UDP port: 5060
<sipEndpoint id="defaultSipEndpoint"
    sipTCPPort="5062"
    sipUDPPort="5062"
    sipTLSPort="5063" />
wasJmsServer-1.0
  • Incoming unsecure port: 7276
  • Incoming secure port: 7286
<wasJmsEndpoint id="InboundJmsEndpoint"
    wasJmsPort="7278"
    wasJmsSSLPort="7288">
</wasJmsEndpoint>

Icon that indicates the type of topic Reference topic

File name: rwlp_portnums.html