How to run rabbitmqctl commands on remote machine? How to run rabbitmqctl commands on remote machine? docker docker

How to run rabbitmqctl commands on remote machine?


rabbitmqadmin uses the HTTP API, so it is enough to reach the http endpoint.

rabbitmqctl uses the erlang distribution, and in order to work it needs the same .erlang.cookie installed on the remote machine.

you can use -n paramenter in this way:

rabbitmqctl -n rabbit@remotemachine 

Check the documentation for more details