安装都没有问题,运行会报错了,找了很多最后成功了
Error: unable to perform an operation on node 'rabbit@ENPBKOLTOPXBTL5'. Please see diagnostics information and suggest
ns below.Most common reasons for this are:
* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the serve
* Target node is not running
In addition to the diagnostics info below:
* See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more
* Consult server logs on node rabbit@ENPBKOLTOPXBTL5
DIAGNOSTICS
===========
attempted to contact: [rabbit@ENPBKOLTOPXBTL5]
rabbit@ENPBKOLTOPXBTL5:
* connected to epmd (port 4369) on ENPBKOLTOPXBTL5
* epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
* TCP connection succeeded but Erlang distribution failed
* Authentication failed (rejected by the remote node), please check the Erlang cookie
Current node details:
* node name: rabbitmqcli26@ENPBKOLTOPXBTL5
* effective user's home directory: C:\Users\Administrator
* Erlang cookie hash: Zf3sjQl4MGnEPZAxKzC5rg==
解决方案
- 将C:\Users\{用户名}\.erlang.cookie 复制到 C:\Windows\System32\config\systemprofile 目录。
- 重启rabbitMQ服务