Rabbit health check failed:java.net.ConnectException: Connection refused: connect

报错内容:

2021-07-30 14:16:53.619 [RMI TCP Connection(1)] WARN  org.springframework.boot.actuate.amqp.RabbitHealthIndicator - Rabbit health check failed
org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused: connect

解决方法:

Rabbit health check failed:java.net.ConnectException: Connection refused: connect
在配置文件添加以上配置信息就ok了!

上一篇:Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: 解决办法


下一篇:使用springcloud中遇到rabbitmq Connection refused: connect 拒绝连接错误