CentOS 6.5 x64
1. create file /etc/rabbitmq/rabbitmq.config
[
{rabbitmq_management, [{listener, [{port, 15672},{ip, "127.0.0.1"}]}]},
{kernel,[{inet_dist_use_interface,{127,0,0,1}}]}
].
2. create file /etc/rabbitmq/rabbitmq-env.conf
export RABBITMQ_NODENAME=rabbit@localhost
export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1
export ERL_EPMD_ADDRESS=127.0.0.1
3. Establish ssh tunnel from your machine to remote rabbitmq server
Now, you can connect to admin console using browser http://localhost:15672
This is very useful for hosting machines.
ssh -L 15672:127.0.0.1:15672 user@remotehost -p 22
Now, you can connect to admin console using browser http://localhost:15672
This is very useful for hosting machines.