jaffa
jaffa

Reputation: 27360

MSMQ - Remote Computer is not available when peeking a message

I am trying to connect to a private MSMQ on another server within out network. The connection is made from a DMZ server into the internal network and are not on the same domain.

As I understand I can still connect to a remote server as long as the addressing is correct to the queue.

When I peek the message I get the following error: Remote Computer is not available

The queue: FormatName:DIRECT=OS:10.0.9.171\private$\test.queue1

We have ports open on 1801, 2013, 2105.

I've also found this info on MSDN:

Opening a remote queue with peek access requires a direct connection to the computer where the queue resides. You cannot peek at the messages in a queue that resides on a computer that has no direct connection to the computer where your application is running. An RPC session must be established with the remote computer during calls to peek at messages. For more information, see Opening Remote Queues with Peek or Receive Access.

Is the above process transparent when calling the API? I mean how would I even open a "direct RPC connection?"

Can someone offer some guidance on how to peek a queue on a remote machine?

Upvotes: 1

Views: 4283

Answers (1)

John Breakwell
John Breakwell

Reputation: 4687

You need port 135 to be open.

I've also covered successful remote access to MSMQ over RPC here.

Upvotes: 1

Related Questions