RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachabl

When testing the mq connection, I found out
insert image description here
and then carried out Baidu, Baidu said, it should be like this
insert image description here

rabbitmqctl set_permissions -p / xxx(用户名) "." "." .*"

It is to go to the background to set permissions for users, but it does not solve the fundamental problem, because I have already set it on the webpage!
insert image description here
Exclude this problem

What should be the problem? analyze

RabbitMq's web page port is 15672
RabbitMq's default port is 5672 (use this when writing code)

0.0 speechless,,,

I am a dog, I hope you are happy!

Guess you like

Origin blog.csdn.net/weixin_38083655/article/details/125785916