编程语言
首页 > 编程语言> > DAY12分布式事务AmqpConnectException: java.net.ConnectException: Connection refused - 2021-10-01

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

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

 

标签:10,01,java,amqp,springframework,refused,rabbit,net
来源: https://blog.csdn.net/Oppuser/article/details/120576207