INFO: TCP, UDP, and RPC Ports Used by MSMQ

ID: Q178517

The information in this article applies to:

SUMMARY

The following ports are used for Microsoft Message Queue Server (MSMQ) operation:

   TCP: 1801

   RPC: 135, 2101*, 2103*, 2105*

   UDP: 3527, 1801

This information is useful for interpreting:

   Netstat -a output
   A network trace
   Configuring a firewall

MORE INFORMATION

MSMQ message traffic and internal session management traffic between Queue Managers is delivered over Winsock through reserved TCP port 1801.

The MSMQ Independent Client multicasts a server discovery broadcast over reserved UDP port 1801.

MSMQ Servers listen on TCP port 2101* for RPC-based MQIS calls.

MSMQ Independent Clients and Servers listen on fixed TCP port 2103* and 2105* for RPC-based remote reads of their public and private queues. Also, the Dependent Client uses these two ports to communicate with its server for send and receive.

There is a dynamic RPC port (assigned by RPC layer) for handshaking with an Independent Client or MSMQ Server's RPC server to determine the fixed ports. This is usually port 135.

MSMQ's internal PING mechanism operates over reserved UDP port 3527.

* These port numbers may be incremented by 11 if the initial choice of RPC

  port is in use when MSMQ initializes. A connecting QM will query port 135
  to discover the 2xxx ports.

REFERENCES

http://www.microsoft.com/msmq/

Keywords          : MQConnect MQNetwork kbfaq
Version           : WinNT:1.0
Platform          : winnt
Issue type        : kbinfo

Last Reviewed: January 30, 1998