Both computers are operating systems that are Windows Server 2008
Msmq+http support is installed on both computers
The firewalls of both computers are all shut down
Local ip:192.168.1.104
Remote ip:192.168.1.142
To establish a private queue remotely: Test
Code to send the message locally:
System.Messaging.MessageQueue MQ =
New System.Messaging.MessageQueue ("Formatname:direct=http://192.168.1.142/msmq/private$/test");
Mq. Send ("Hello");
But the remote computer is not receiving this information.
The outgoing queue in local MSMQ shows that "Formatname:direct=http://192.168.1.142/msmq/private$/proxylog" is waiting for a connection, but the message is slow to one less
Can you tell me how to solve this problem?
===========================================================
Finally figured out, the root cause of the problem is this.
After you install the IIS services and MSMQ features on Windows Server 2008, an MSMQ default network is established under the Default Web site for IIS.
If the default Web site for IIS is deleted, the default MSMQ network cannot be established and the information cannot be accepted.
Conclusion: Do not delete the default Web site to use Msmq,iis. Otherwise, IIS can only be re-installed.
C # issues with MSMQ sending a proprietary queue message remotely over HTTP