I have a strange problem which I dont know how to troubleshoot.
When i visit Rabbit UI on 192.168.50.10:15672 I get: ERR_CONNECTION_REFUSED
The firewall rules are open and also when I check netstat I can see the port is listening:
tcp 0 0 0.0.0.0:15672 0.0.0.0:* LISTEN 39608/docker-proxy
tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 39714/docker-proxy
This is my docker compose:
version: '3'
services:
rabbitmq:
image: rabbitmq:3.13-management
restart: always
ports:
# AMQP protocol port
- "5672:5672"
# HTTP management UI
- "15672:15672"
environment:
# RABBITMQ_ERLANG_COOKIE: secret-cookie
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: admin
volumes:
#- /docker-dev/rabbitmq:/var/lib/rabbitmq/mnesia
- /docker-dev/rabbitmq/etc/:/etc/rabbitmq/
- /docker-dev/rabbitmq/data/:/var/lib/rabbitmq/
- /docker-dev/rabbitmq/logs/:/var/log/rabbitmq/
When i check the logs I see:
2024-06-17 21:46:14.722869+00:00 [notice] <0.44.0> Application syslog exited with reason: stopped
2024-06-17 21:46:14.725217+00:00 [notice] <0.254.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
## ## RabbitMQ 3.13.3
## ##
########## Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
###### ##
########## Licensed under the MPL 2.0. Website:
Erlang: 26.2.5 [jit]
TLS Library: OpenSSL - OpenSSL 3.1.6 4 Jun 2024
Release series support status: supported
Doc guides:
Support:
Tutorials:
Monitoring:
Upgrading:
Logs: /var/log/rabbitmq/[email protected]
<stdout>
Config file(s): (none)
Starting broker... completed with 0 plugins.https://rabbitmq.comhttps://www.rabbitmq.com/docshttps://www.rabbitmq.com/docs/contacthttps://www.rabbitmq.com/tutorialshttps://www.rabbitmq.com/docs/monitoringhttps://www.rabbitmq.com/docs/upgrade
The Rabbit MQ logs are:
2024-06-17 21:46:15.562685+00:00 [info] <0.254.0> Running boot step definition_import_worker_pool defined by app rabbit
2024-06-17 21:46:15.562782+00:00 [info] <0.316.0> Starting worker pool 'definition_import_pool' with 2 processes in it
2024-06-17 21:46:15.562931+00:00 [info] <0.254.0> Running boot step cluster_name defined by app rabbit
2024-06-17 21:46:15.563004+00:00 [info] <0.254.0> Initialising internal cluster ID to 'rabbitmq-cluster-id-xCnY1KErzGdiLAEg_E0k6A'
2024-06-17 21:46:15.565406+00:00 [info] <0.254.0> Running boot step direct_client defined by app rabbit
2024-06-17 21:46:15.565523+00:00 [info] <0.653.0> Resetting node maintenance status
2024-06-17 21:46:15.565645+00:00 [info] <0.653.0> Ready to start client connection listeners
2024-06-17 21:46:15.577211+00:00 [info] <0.671.0> started TCP listener on [::]:5672
2024-06-17 21:46:15.621811+00:00 [info] <0.653.0> Server startup complete; 0 plugins started.
2024-06-17 21:46:15.766645+00:00 [info] <0.9.0> Time to start RabbitMQ: 2603 ms
Am I missing something?