Establishing a TCP connection

To establish a TCP connection, follow these steps.

  1. Edit the file /etc/services.
    Note:
    To edit the /etc/services file, you must be logged in as a superuser or root. If you do not have the following line in that file, add it as shown:
    MQSeries       1414/tcp      # MQSeries channel listener
  2. Edit the file /etc/inetd.conf. If you do not have the following line in that file, add it as shown:
    MQSeries stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta
    [-m queue.manager.name]
  3. Find the process ID of the inetd with the command:
    ps -ef | grep inetd
  4. Run the command:
    kill -1 inetd processid