【RabbitMQ/已解决】本机能连RabbitMQ,同一局域网的其它机器不能连,SpringBoot中Receiver报出的故障

本问题的解决方案请见:https://www.cnblogs.com/heyang78/p/15249503.html

RabbitMQ服务器架设在T440p上,IP为192.168.0.105,端口5672,本机SpringBootAPP收发消息自如。

在T14上建立一个消费者,准备接收队列Queue01中的消息,IP为192.168.0.101,使用的是新创建的用户,不是guest。

但一直出现下面故障:

故障信息:

2021-09-09 10:45:45.455  INFO 2388 --- [tContainer#0-17] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: [192.168.0.105:5672]
2021-09-09 10:46:11.602  WARN 2388 --- [tContainer#0-17] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection timed out: no further information
2021-09-09 10:46:11.604  INFO 2388 --- [tContainer#0-17] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer@43fa7e0a: tags=[[]], channel=null, acknowledgeMode=AUTO local queue size=0

关键三句:

Attempting to connect to: [192.168.0.105:5672]
Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection timed out: no further information
Restarting Consumer@43fa7e0a: tags=[[]], channel=null, acknowledgeMode=AUTO local queue size=0

遇到同样问题的网友请参考:https://www.cnblogs.com/heyang78/p/15249503.html

posted @   逆火狂飙  阅读(1409)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
历史上的今天:
2017-09-09 【Canvas与艺术】下雪籽特效
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东
点击右上角即可分享
微信分享提示