TCP/IP default port

By default, for TCP/IP, WebSphere® MQ assumes that the channel will be connected to port 1414.

You can change this by:
  • Adding the port number in brackets as the last part of the ConnectionName:
    • For Windows:
      SET MQSERVER=ChannelName/TransportType/ConnectionName(PortNumber)
    • For UNIX and Linux® systems:
      export MQSERVER='ChannelName/TransportType/ConnectionName(PortNumber)'
  • Changing the mqclient.ini file by adding the port number to the protocol name, for example:
  • Adding WebSphere MQ to the services file as described in Using the TCP/IP listener.