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

Last reviewed: January 28, 1998
Article ID: Q178517
The information in this article applies to:
  • Microsoft Message Queue Server version 1.0

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
Solution Type     : Info_Provided


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 28, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.