Defining a TCP connection on UNIX and Linux
The channel definition at the sending end specifies the address of the target. The listener or inet daemon is configured for the connection at the receiving end.
Before you begin
A message channel using TCP/IP can be pointed at an IBM® Aspera fasp.io Gateway, which provides a fast TCP/IP tunnel that can significantly increase network throughput. A queue manager running on any entitled CD platform can connect through an Aspera gateway. The gateway itself is deployed on Red Hat® or Ubuntu Linux®. See Defining an Aspera gateway connection on Linux.
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 defaults to 1414. Port number 1414 is assigned by the Internet Assigned Numbers Authority to IBM MQ.
Connection Name REMHOST(1822)
where
REMHOST
is the host name 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.)
TCP:
Port=1822
For more information about the values you set using qm.ini, see Configuration file stanzas for distributed queuing.
Receiving on TCP
You can use either the TCP/IP listener, which is the inet daemon (inetd), or the IBM MQ listener.Some Linux distributions now use the extended inet daemon (xinetd) instead of the inet daemon. For information about how to use the extended inet daemon on a Linux system, see Establishing a TCP connection on Linux .