rabbitmq

rabbitmq3.8.5环境搭建:https://blog.csdn.net/weixin_40584261/article/details/106826044

 

guest用户登陆报错  User can only log in via localhost

  解决方案:重新添加个用户

    rabbitmqctl add_user admin admin

    rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"

    rabbitmqctl set_user_tags admin administrator

    不用重新启动,直接访问即可。

 

查看mq状态: rabbitmqctl status

关停/启动/重启mq:systemctl stop/start/restart rabbitmq-server

posted @ 2021-04-15 16:46  红嘴鲤鱼  阅读(42)  评论(0编辑  收藏  举报