zoukankan      html  css  js  c++  java
  • windows 安装RabbitMQ 遇到 epmd error for host xxx: address (cannot connect to host/port)错误解决方法

    未安装服务,Windows下,dev环境用bat运行

    运行RabbitMQ时报如下错误

    Configuring logger redirection
    09:11:07.009 [warning] Using RABBITMQ_ADVANCED_CONFIG_FILE: c:/Users/%UserName%/AppData/Roaming/RabbitMQ/advanced.config
    09:12:14.369 [error]
    
    09:12:14.369 [error] BOOT FAILED
    BOOT FAILED
    09:12:14.369 [error] ===========
    09:12:14.369 [error] ERROR: epmd error for host xxxx: timeout (timed out)
    ===========
    09:12:14.369 [error]
    ERROR: epmd error for host xxxx: timeout (timed out)

    最终解决办法:

    windows:
    找到rabbitmq-env.bat文件,路径{rabbitMq安装路径}/sbin/rabbitmq-env.bat,@echo off下面一行添加
    set RABBITMQ_NODENAME=rabbit@localhost

    如下图

     再次启动OK。

     另外附一个advanced.config配置:

    [
      {
        "rabbit",
        [
          {
            "tcp_listeners",
            [
              {
                "127.0.0.1",5672
              },
              {
                "::1",5672
              }
            ]
          },
    
          {
            "loopback_users",[ "guest" ]
          }
        ]
      }
    ].
  • 相关阅读:
    C
    数论::整除分块
    洛谷P1262 间谍网络
    洛谷P1649 【[USACO07OCT]障碍路线Obstacle Course】
    HDU2066dijkstra模板题
    Captain Flint and Treasure
    CodeForces
    CodeForces
    HDU-1827
    HDU 1811
  • 原文地址:https://www.cnblogs.com/CnKker/p/14365303.html
Copyright © 2011-2022 走看看