This is a small thing, but very annoying.
I didn’t find it in Internet, so decided to blog it here.
My environment: Windows Server 2008 R2 x64; Rabbit 2.7.1.
I installed the RabbitMQ Server and tried to interact with it using the rabbitmqctl.bat script. This script requires to use the host name:
>rabbitmqctl -n rabbit@Win2K8R2 status
I was getting the error again and again:
“Error: unable to connect to node rabbit@Win2K8R2: nodedown”
I used the exact string provided me by script (see above in red) –
“– nodes and their ports on Win2K8R2:”
and the error text was –
“Status of node rabbit@Win2K8R2”
When I changed the host name to upper-case, error was gone.
>rabbitmqctl -n rabbit@WIN2K8R2 status
Conclusion:
Use only upper-case letters in the host name in rabbitmqctl.bat script!