Hey guys,
I installed rabbitmq server on a vmware machine with static IP address: 192.168.1.120
From my local computer I can go to the vmware rabbitmq management plugin:
I can also telnet into it:
telnet 192.168.1.120 5672
However, when I try to run using the dotnet plugin or the easynetQ, it basically times out.
Here is my dotnet code:
ConnectionFactory connectionFactory = new ConnectionFactory();
connectionFactory.UserName = "my_username";
connectionFactory.Password = "my_password";
connectionFactory.HostName = "192.168.1.120";
connectionFactory.Port = 5672;
IConnection conn = connectionFactory.CreateConnection();
The error message I get for dotnet is: "BrokerUnreachableException"
And for the easynetQ, it doesn't give me an error but after 3 seconds the code continues but I can see that the object isConnected flag is set to false.
Does anyone have any idea on how to get my c# code connecting to the rabbitmq server?
Is there some setting I am missing, or simply shouldn't use vmware to run my rabbitmq server?
Many thanks.