example, client-connection channel" />
Home
Defining a client-connection channel using MQSERVER
Create a client-connection channel by setting the MQSERVER environment variable. (For more information, see Using WebSphere MQ environment variables).
- For Windows clients, enter the following command:
SET MQSERVER=CHANNEL1/TCP/server-address(port)- For UNIX clients, enter the following command:
export MQSERVER=CHANNEL1/TCP/'server-address(port)'
Where:
server-address is the TCP/IP hostname of the server
(port) is the TCP/IP port number the server is listening on
If you do not give a port number, WebSphere MQ uses the one specified in the QM.INI file, or the registry for Windows. If no value is specified in the QM.INI file, or the registry for Windows, WebSphere MQ uses the port number identified in the TCP/IP services file for the service name
MQSeries. If this entry in the services file does not exist, a default value of 1414 is used. It is important that the port number used by the client and the port number used by the server listener program are the same.
Home