Reputation: 2068
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?
Upvotes: 85
Views: 191401
Reputation: 30247
Before reinstalling or really doing anything else after enabling the plugin
, try restarting the PC, this is all I had to do. After my Windows 11 PC restarted, I connected to http://localhost:15672/
without any problem.
Upvotes: 0
Reputation: 541
Funny, I did all the things mentioned in instructions here through the RabbitMQ Command Prompt:
https://www.svix.com/resources/guides/rabbitmq-windows-install-guide/
And it didn't worked, untill I opened it As Administrator. When I did same thing from RabbitMQ Command Prompt opened with administrative privilegies, it worked.
Upvotes: 0
Reputation: 506
i tried everything mentioned here.. but what worked for me was..
i removed the docker image, went ahead and installed the server version that included that used earlang from the rabbitmq website. after which i went to the path C:\Program Files\RabbitMQ Server\rabbitmq_server-3.13.7\sbin
and ran the following commands..
.\rabbitmq-service.bat remove
.\rabbitmq-service.bat install
.\rabbitmq-service.bat start
then it started working for me.
Upvotes: 0
Reputation: 9630
For docker version
use below command in command prompt
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.12.14-management-alpine
And then access management portal
in web http://localhost:15672/
username & password both are guest
Upvotes: 0
Reputation: 1101
These days browsers automatically redirect requests to HTTPS, but it appears management console works only on HTTP.
Whatever browser you are using, please try to stop redirecting (best if you do that just for localhost).
For Chrome, you navigate chrome://net-internals/#hsts and add "localhost" (without quotes) into the "Delete domain security policies" input & press the button.
Upvotes: 0
Reputation: 155
I have not seen this answered here so I thought I'd include it. You can pull the rabbitmq image from dockerhub with the management
tag which includes the management plugin pre-enabled along side the API.
docker pull rabbitmq:management
And you can access the management dashboard via http://localhost:15672/
like you would normally with guest
as both username and password.
Upvotes: 1
Reputation: 6675
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.
Upvotes: 166
Reputation: 375
In my case,The rabbit mq in browser runs on http://localhost:15672/
. I was trying to access http://localhost:5672/
Upvotes: 3
Reputation: 11
In my case (i am updated RabbitMq) worked this:
Upvotes: 1
Reputation: 2401
1- install erlang & Set environment variables:
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`
restart
3- In Windown, delete everything in c:\Users\--USERNAME--\AppData\Roaming\RabbitMQ\db\
4- run RabbitMQ command prompt (sbin directory) from start menu and type this command:
rabbitmq-plugins enable rabbitmq_management
5- see the RabbitMQ Managment in:
http://localhost:15672/
username = guest
password = guest
Upvotes: 6
Reputation: 6623
If you are trying to do this under windows just go to the installation directory for RabbitMQ Server in the sbin directory (mine was at C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.7\sbin) and there you can run the bat file to enable RabbitMQ:
.\rabbitmq-plugins enable rabbitmq_management
Upvotes: 2
Reputation: 479
I faced exactly the same issue. Steps I followed:
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.
Upvotes: 0
Reputation: 4455
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`
Upvotes: 1
Reputation: 438
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.
Upvotes: 0
Reputation: 498
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.
Upvotes: 3
Reputation: 885
If you are using Chrome please try with Firefox, I had the same issue on Chrome however it worked fine on Firefox.
Upvotes: 10
Reputation: 23098
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.
Upvotes: 0
Reputation: 861
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.
Upvotes: 38
Reputation: 2063
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>
Upvotes: 3
Reputation: 3003
Sometimes, on Windows, it's not enough to do just rabbitmq-plugins enable rabbitmq_management
. UI is accessible only after reinstalling RabbitMQ
Upvotes: 21