windows安装rabbitmq 报错Error: unable to connect to node '[email protected]': nodedown

 一下是报错信息


C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin>rabbitmqctl.bat list_users
Error: unable to connect to node '[email protected]': nodedown

DIAGNOSTICS
===========

attempted to contact: ['[email protected]']

[email protected]:
  * connected to epmd (port 4369) on DESKTOP-V0PDRVS
  * epmd reports node 'rabbit' running on port 25672
  * TCP connection succeeded but Erlang distribution failed

  * Authentication failed (rejected by the remote node), please check the Erlang cookie


current node details:
- node name: '[email protected]'
- home dir: C:\Users\Lenovo
- cookie hash: fLwEKYTZmICFCvgiXvy9ew==
 

 解决办法

将C盘下面的C:\Users\Lenovo\.erlang.cookie 文件 拷贝到C:\Windows\System32\config\systemprofile替换掉.erlang.cookie文件

重启 net stop RabbitMQ && net start RabbitMQ

 

windows安装rabbitmq 报错Error: unable to connect to node '[email protected]': nodedown