Configuring your queue manager to accept TCP/IP client connections

Configure a queue manager to accept incoming connection requests from the clients.

About this task

This task explains the basic steps for configuring a queue manager to accept TCP/IP client connections. For a production system, you must also consider the security implications when configuring queue managers.

Procedure

  1. Define a server connection channel:
    1. Start the queue manager.
    2. Define a sample channel called NET.CHANNEL:
      
      DEF CHL('NET.CHANNEL') CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ') +
      DESCR('Sample channel for WebSphere MQ classes for .NET')
      
      Important: This sample is intended for use in a sandbox environment only, as it does not include any consideration of security implications. For a production system, consider using SSL or a security exit. See Security for more information.
  2. Start a listener:
    
    runmqlsr -t tcp [-m qmnqme ] [-p portnum ]
    
    Note: The square brackets indicate optional parameters; qmname is not required for the default queue manager, and the port number portnum is not required if you are using the default (1414).