How to access RabbitMq publicly

后端 未结 3 673
慢半拍i
慢半拍i 2020-12-28 08:07

I have installed & setup the Rabbitmq on Centos remote server. Later I created an file \"rabbitmq.config\" and added the line

[{rabbit, [{loopbac

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-28 08:55

    First of all connect to your rabbitmq server machine using ssh client so as to be able to run rabbitmqctl (like puTTY) & get into the sbin directory of rabbit installation

    1. you need to create a user for any vhost on that system (here I use default vhost "/")

    $ rabbitmqctl add_user yourName yourPass

    1. Set the permissions for that user for default vhost

    $ rabbitmqctl set_permissions -p / yourName ".*" ".*" ".*"

    1. Set the administrator tag for this user (to enable him access the management pluggin)

    $ rabbitmqctl set_user_tags yourName administrator

    ... and you are ready to login to your rabbitmq management gui using yourName and yourPass from any browser by pointing it to http://"*********":15672 where ***** is your server IP hope it helps...

    :-)

提交回复
热议问题