I have a simple RabbitMQ test program that sends and then receives a message to a RabbitMQ server. I have two computers and I've found that whether or not my code works depends on which computer hosts the RabbitMQ server. Here is my situation (excuse my MS Paint):

I can't figure out why scenario #3 doesn't work for me.
My question, very generally is, what are some things that I should be looking for that might point to my problem? There must be some setting that is checked on computer A but is not checked on computer B. Computer B has the default installation of Erlang and RabbitMQ. I'm pretty sure computer A is also set to the defaults (I didn't install it as recently).
Please help.
The issue is only evident when A tries to connect to B, so:
nslookup b for this.ping b will be helpful for this.telnet b 5672. If you get a blank screen that means the connection was accepted. I'm betting you'll get some sort of error though. Try this trick first using b's IP address and then if that works try it with the hostname of b to make sure it resolves.In summary, just strip it down to pure network checks (no RabbitMQ involved) and work from there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With