How to access RabbitMq publicly

后端 未结 3 605
慢半拍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:56

    There is an example config file, on centos do:

    cp /usr/share/doc/rabbitmq-server-3.4.2/rabbitmq.config.example /etc/rabbitmq/rabbitmq.config
    

    Find and remove comments (and comma):

    {loopback_users, []}
    

    Then, stop rabbitmq:

    rabbitmqctl stop
    

    Now start the server:

    service rabbitmq-server start
    

    Now user "guest" can access from anywhere.

提交回复
热议问题