zoukankan      html  css  js  c++  java
  • 【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

  • 相关阅读:
    OD 实验(十三)
    第一个 Windows 界面程序
    C 语言
    C 语言
    OD 实验(十二)
    PowerShell 常用命令
    OD 实验(十一)
    OD 实验(十)
    redis
    memcached缓存系统
  • 原文地址:https://www.cnblogs.com/heyang78/p/15246051.html
Copyright © 2011-2022 走看看