DAY12分布式事务AmqpConnectException: java.net.ConnectException: Connection refused - 2021-10-01

1.报错如下:  订单微服务无法连接rabbitMQ发送不了添加tb_task消息

org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused: connect
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException

DAY12分布式事务AmqpConnectException: java.net.ConnectException: Connection refused - 2021-10-01

2.  原因: 忘记在application.yml配置rabbit主机

DAY12分布式事务AmqpConnectException: java.net.ConnectException: Connection refused - 2021-10-01

 

上一篇:docker 部署rabbitmq


下一篇:2021-10-22