【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
分类:
Java.RabbitMQ
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 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与艺术】下雪籽特效