AMQP connection unable to be established

480 views
Skip to first unread message

João Paulo Coelho

unread,
Aug 10, 2021, 8:40:19 PM8/10/21
to rabbitmq-users
Hi forum. 

So I've tried to install rabbitMQ using the command (under cygwin):

docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.9-management

The container is running as far as I can see in the docker dashboard (windows version).  However, there is a log that continously says:

[info] accepting AMQP connection <0.924.0> (172.17.0.1:56980 -> 172.17.0.3:5672)

[erro] <0.924.0> closing AMQP connection <0.924.0> (172.17.0.1:56980 -> 172.17.0.3:5672)

I've tried to use:

telnet localhost 5672

Since, in the RabbitMQ webpage, they say that we can check if we receive the string "1234" as a response. However, I get the following result (using cygwin):

Trying ::1...

Connected to localhost.

Escape character is '^]'.

Connection closed by foreign host.

I'm running the containers in a windows machine and, besides RabbitMQ, I only have mosquitto container running. And this latter works perfectly.

So, any hint?? Am I missing something? 

Tucker Mogren

unread,
Feb 2, 2023, 9:36:17 AM2/2/23
to rabbitmq-users

So I had this issue, here are one things I did that may have fixed it for me. 
When running in Docker and trying to navigate to the management portal (http://localhost:15672/) try using Incognito mode or a browser other then Chrome.
Reply all
Reply to author
Forward
0 new messages