Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
572 views
in Technique[技术] by (71.8m points)

c# - MSMQ remote private queue on Windows server 2012

I have private, non-transactional queue configured on my remote Windows Server 2012.

I wrote quick c# console application to test it. It places messages to the local private queue on my local PC.

It also works properly, while running on remote server - messages lands in the queue. But I cannot make it to send messages from local PC to remote queue. In the opposite way its also not working. I checked inbound rules and enabled Remote Event Monitor (RPC) and Remote Event Monitor (RPC-EPMAP) but my messages are still in outbound queue with state Waiting to connect and message Failed to connect Winsock socket Ip: XX.XX.XX.XX

I have also tried registry adjustments:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSMQParametersSecurityNewRemoteReadServerAllowNoneSecurityClient as 1,
HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSMQParametersSecurityAllowNonauthenticatedRPC as 1

Used queue path: FormatName:Direct=TCP:XX.XX.XX.XX\private$\name-of-queue

Could someone please help me with that? Many thanks.

question from:https://stackoverflow.com/questions/65845252/msmq-remote-private-queue-on-windows-server-2012

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...