How to enable management console for RabbitMQ?
After I was done with the fresh installation of RabbitMQ, the very first step that I wanted to do was to access the RabbitMQ’s management console to actually use this software. But it was not available just after the installation automatically like I’m used to accessing a web-based client for other softwares. In this post, I’ll tell you how to enable management console for RabbitMQ.
RabbitMQ is a messaging broker – an intermediary for messaging. It gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
– RabbitMQ official documentation
RabbitMQ Distribution & Command Prompt
When RabbitMQ Server is installed, RabbitMQ command prompt is also installed which can be found in the start menu if you are on windows. RabbitMQ distribution also includes a management plugin that provides an HTTP-based API for management and monitoring of your RabbitMQ server, along with a browser-based UI and a command line tool, rabbitmqadmin.
To enable this management plugin, use the same command prompt, use `rabbitmq-plugins`. Use the command below to enabled this:
rabbitmq-plugins enable rabbitmq_management
After this command is process, access the web UI is located at: `http://server-name:15672/`. The HTTP API and its documentation are both located at: http://server-name:15672/api/.
The port mentioned above is the default port that RabbitMQ uses but if it doesn’t work, look at the `rabbitmq.config` file to look at the setup. Also, Replace the “server-name” with your actual computer name. `Localhost` will also work but if it doesn’t work, you can get the name of the server by running following command in the RabbitMQ command prompt:
rabbitmqctl status
The output will have following statement “Status of node ‘rabbit@DESKTOP-B2E4T6K’ …” where the text after “@” is your server-name.
Hope, the above steps will be helpful to enable management console for RabbitMQ.
