'rabbmitmq 3.6.10 allows guest access from remote

Recently I upgraded my ubuntu 12.04 into ubuntu 18.04. RabbitMQ 3.6.10 does not allow guest access from remote anymore.

I have searched online and try this method

Create a config file /etc/rabbitmq/rabbitmq.config with contents

loopback_users = none

or

loopback_users.guest = false

Add environment variable RABBITMQ_CONFIG_FILE as /etc/rabbitmq/rabbitmq.conf.

Give administrator permission to guest.

It still has an error

HTTP access denied: user 'guest' - User can only log in via localhost

It seems rabbitmq.config or rabbitmq.conf is not used as environment variable rabbitmq_config_file or config_file is not used too after I change it into a non-existing file.

I can confirm rabbitmq-env.conf is used.

How should I allow remote access for guest?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source