Docker rabbit MQ management does not connect to the service

305 views
Skip to first unread message

Dennis Del

unread,
Jul 25, 2018, 9:12:04 PM7/25/18
to masstransit-discuss
Hi All, 
I cannot connect rabbitMQ management to server.
so I run this :

docker run -d --hostname rabbitMQServer --name rabbitMQServer  -p 8000:5672 -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3.7

then this :

docker run -d --hostname rabbitMQmanagement --name rabbitMQManagement -p 8080:15672 rabbitmq:3.7-management

then I go to http://localhost:8080 and whatever I do I see no connections, queues, exchanges etc...

My integration testing and unit testing both pass and I get messages and everything. 

I am not entirely sure what else should be done ?!

I am not sure how to connect the management to the instance.
I will be grateful for any help.



Dennis Del

unread,
Jul 25, 2018, 10:43:56 PM7/25/18
to masstransit-discuss
Problem solved...I was making two instances!

for those who are interested by any chance, 
docker run -d -p 8000:5672 -p 8080:15672 --hostname rabbit-mq-server --name rabbit-mq-server -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3.7-management
you need to expose both ports 5672 and 15672

Gert Jansen van Rensburg

unread,
Jul 26, 2018, 12:39:06 AM7/26/18
to masstransit-discuss
Have a look at https://github.com/gertjvr/masstransit-docker as an example implementation with docker rabbitmq container.
Reply all
Reply to author
Forward
0 new messages