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 REMHOST(1822)
where REMHOST is the hostname of the remote machine and 1822 is the port number required. (This must be the port that the listener at the receiving end is listening on.)

Alternatively we can change the port number by specifying it in the queue manager configuration file (qm.ini):

TCP:
  Port=1822

For more information about the values you set using qm.ini, see Configuration file stanzas for distributed queuing.

 

Parent topic:

Defining a TCP connection


ic13310_


 

Home