Skip to content

Unable to connect to RabbitMQ via localhost or 127.0.0.1 #646

Answered by lukebakken
zN3utr4l asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for those details. Why do you expect these two commands to work?

python3 rabbitmqadmin -H 127.0.0.1 -u guest -p guest list vhosts && \
python3 rabbitmqadmin -H localhost -u guest -p guest list vhosts

They are attempting to connect to port 15672 of the container running python3 rabbitmqadmin. RabbitMQ is running in an entirely different container.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lukebakken
Comment options

Answer selected by zN3utr4l
@zN3utr4l
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #645 on June 16, 2023 14:19.