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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…