Rabbitmq: Rabbit mq docker image is not exposing port 5672

Created on 16 May 2016  路  1Comment  路  Source: docker-library/rabbitmq

tried running docker image
docker run -d --hostname MYHOST--name some-rabbit rabbitmq

BUT LOGS ARE SHOWING
started TCP Listener on [::]:5672

PORTS LISTED IN DOCKER PS
4369/tcp, 5671-5672/tcp, 25672/tcp

when i try to connect MQ with simple java client it is throwing connection execption.

and also netstat is not listing 5672 port

and i also checked that MYHOST is being resolved to IP address when i ping.

Most helpful comment

You need to expose the port from the docker instance, add -p 5672:5672 to your docker run line.

>All comments

You need to expose the port from the docker instance, add -p 5672:5672 to your docker run line.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michaelklishin picture michaelklishin  路  4Comments

CVTJNII picture CVTJNII  路  4Comments

yidasanqian picture yidasanqian  路  3Comments

aram535 picture aram535  路  4Comments

CVTJNII picture CVTJNII  路  6Comments