1.错误代码
C:\Work\RubbitMQ\rabbitmq_server-3.7.5\sbin>rabbitmqctl.bat list_users
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 server)
* 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@DESKTOP-M39P0B3
DIAGNOSTICS
===========
attempted to contact: ['rabbit@DESKTOP-M39P0B3']
rabbit@DESKTOP-M39P0B3:
* connected to epmd (port 4369) on DESKTOP-M39P0B3
* epmd reports: node 'rabbit' not running at all
no other nodes on DESKTOP-M39P0B3
* suggestion: start the node
Current node details:
* node name: 'rabbitmqcli94@DESKTOP-M39P0B3'
* effective user's home directory: C:\Users\hanzh
* Erlang cookie hash: l+SSu57+cRyAQ03AJdwAbQ==
2.原因
因为需要进行消息转发所以需要服务器权限
3.解决办法
找到服务界面---》分配Rabbitmq当前电脑登陆的账户,一路确定再次启动设置RabbitMQ