RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
来自ling
1、重新安装RabbitMQ的服务
For some reason the service set up by the installer did not configure several registry entries. Running this set them correctly and allowed the service to run.
这是由于某些原因在安装服务时没有正确配置注册项,重新安装服务即可解决:
以管理员身份运行RabbitMQ Command Propmt(开始菜单中)
执行rabbitmq-service remove
执行rabbitmq-service install
然后再测试是否成功。
2、更正Erlang的cookie
Erlang会生成两个cookie文件:C:\Windows\.erlang.cookie 及 C:\用户\你的用户名\.erlang.cookie。检查两个文件内容是否一致,不一致用其中一个替换另一个即可。
我这里用第二种方式解决了问题,正如程序提示是cookie不正确所导致。