RabbitMQ started but can't access management interface
RabbitmqLocalhostRabbitmq Problem Overview
I have RabbitMQ
installed and started. The service is running as well. However, when I try to open the management interface in firefox, I get this error:
Firefox can't establish a connection to the server at localhost:#####. (##### being several port numbers i tried).
I checked the ports and made sure that they were correct as well as trying to reinstall RabbitMQ
.
Any ideas on how to fix this?
Rabbitmq Solutions
Solution 1 - Rabbitmq
I think you should check a few things:
the management plugin is not enabled by default, you need to run the below command to enable it: (see https://www.rabbitmq.com/management.html)
rabbitmq-plugins enable rabbitmq_management
Also this runs on port 15672 by default, it is possible the server/network is blocking this port. You will need to check that the port is open.
Solution 2 - Rabbitmq
The problem is because you need to enable the plugins in RabbitMQ, in order to enable that open "RabbitMQ Command Prompt (sbin dir)" and run the following command
rabbitmq-plugins enable rabbitmq_management
It will enable all the plugins that is associated with the RabbitMQ.
Now open the browser and type http://localhost:15672 it will open a RabbitMQ console login with guest
as username and guest
as password.
Solution 3 - Rabbitmq
Sometimes, on Windows, it's not enough to do just rabbitmq-plugins enable rabbitmq_management
. UI is accessible only after reinstalling RabbitMQ
Solution 4 - Rabbitmq
I am using rabbitmq
container. What made the UI available (under http://localhost:15672/) again for me is stopping/starting the container:
> docker stop <container-id>
> docker start <container-id>
Solution 5 - Rabbitmq
If you are using Chrome please try with Firefox, I had the same issue on Chrome however it worked fine on Firefox.
Solution 6 - Rabbitmq
In Windown, For some reason delete all folder in c:\Users\xxx\AppData\Roaming\RabbitMQ\db\
(xxx is your username)
start rabbitmq net start rabbitmq
check rabbitmq service rabbitmqctl status
Then restart the rabbitmq server from Windows start option.
Solution 7 - Rabbitmq
In my case,The rabbit mq in browser runs on http://localhost:15672/.I was trying to access http://localhost:5672/
Solution 8 - Rabbitmq
I have encountered this issue on Windows 10 after installing using chocolatey. I removed and reinstall the service, but it still did not work.
I had to remove the whole RabbitMq and manually install using the installer.
That is rather strange, since chocolatey downloads and installs using some setup executables anyway.
Solution 9 - Rabbitmq
Other than having your plugin enabled, in my case I had cookies from other projects in my browser. Clearing them up has fixed this problem for me.
Solution 10 - Rabbitmq
Do follow Ashwini's answer, before that set environmental variable like below ->
-
Set environment variable:
Variable name :
ERLANG_HOME
Variable value:
C:\Program Files (x86)\erl6.4
note: don't include bin on above step.
2- Add %ERLANG_HOME%\bin
to the PATH environmental variable:
Variable name : PATH
Variable value: `%ERLANG_HOME%\bin`
Solution 11 - Rabbitmq
I faced exactly the same issue. Steps I followed:
- I installed ERLang, then installed RabbitMQ.
- Opened CMD on \RabbitMQ Server\rabbitmq_server-3.9.13\sbin path in administration mode. rabbitmq-plugins enable rabbitmq_management
- Then ran rabbitmq-service.bat start command.
Result: Service started but localhost:15672 doesn't shows anything.
How I fixed it.
Uninstalled existing rabbitMQ(not ERLang). Reinstalled rabbitMQ and followed the same process of going into the folder sbin and opened cmd and all.