Home
Sending end
Specify the host name, or the TCP address of the target machine, in the Connection name field of the channel definition. The port to connect to will default to 1414. Port number 1414 is assigned by the Internet Assigned Numbers Authority to WebSphere MQ.
To use a port number other than the default, change the connection name field thus:
Connection Name OS2ROG3(1822)where 1822 is the port required. (This must be the port that the listener at the receiving end is listening on.)We can change the default port number by specifying it in the registry for WebSphere MQ for Windows:
TCP: Port=1822To select which TCP/IP port number to use, WebSphere MQ uses the first port number it finds in the following sequence:
- The port number explicitly specified in the channel definition or command line. This number allows the default port number to be overriden for a channel.
- The port attribute specified in the registry. This number allows the default port number to be overriden for a queue manager.
- The default value of 1414. This is the number assigned to WebSphere MQ by the Internet Assigned Numbers Authority.
For more information about the values you set using qm.ini, see Configuration file stanzas for distributed queuing.
Parent topic:
Defining a TCP connection
ic12750_
Home