Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to know what ports need to be opened on a firewall in order to allow public read access to an MSMQ private queue.

I'm aware that Microsoft publishes a list of ports here:;EN-US;178517

But I only want to open the ports that are specificially required in order to connect to the MSMQ instance and read messages from a private queue (no Active Directory involved).

share|improve this question
okay, you can do it, but are you sure you want to be doing this. Your opening up this port to attack from anonymous users from the whole internet. Now, with Microsoft's track record of zero days, patch tuesday etc etc, do really want to do this. – The Unix Janitor Jul 18 '12 at 9:41
up vote 3 down vote accepted

I eventually found this article: How To Configure a Firewall for MSMQ Access . And this article: Clear the way - MSMQ coming through

To recap, you need ports 135, 2103 and 2105 open in order to read a message from a public queue.

share|improve this answer

From that article, it looks like all those ports are required, with the exception of port 389, which it indicates is for Active Directory.

share|improve this answer
Thanks Adam, but I'm specifically looking for the specific ports that are required to read from a MSMQ queue on a public facing website. I don't want to open any unnecessary ports. – rusvdw Jul 11 '09 at 11:53
I guess you could test it by just enabling/disabling firewall rules and see how it goes. I suspect though that all those ports are needed regardless of the implementation scenario. – Adam Brand Jul 12 '09 at 15:37

MSMQ requires TCP ports

  • 135
  • 2103
  • 2105

(my personal experience)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.