RABBITMQ http access Denied:user ' guest '-user can only log on via localhost problem

Source: Internet
Author: User
Tags rabbitmq

Problem:

The RABBITMQ (3.3.4 version) service was installed yesterday, and the Rabbitmq_management plugin was enabled to manage the RABBITMQ service, but a login failed error occurred while using the Guest user login in the Access management interface.

The query log to the server indicates that an error occurred because: HTTP access Denied:user ' guest '-user can only log on via localhost.

Solve:

RABBITMQ from 3.3.0 to prohibit access by using guest/guest permissions except localhost.

If you want to use Guest/guest for remote machine access, you need to set the loopback_users to [] in the RABBITMQ configuration file (/etc/rabbitmq/rabbitmq.config).

The full contents of the/etc/rabbitmq/rabbitmq.config file are as follows (note the following half-width period):

[{rabbit, [{loopback_users, []}]}].


Reference:

Http://www.rabbitmq.com/release-notes/README-3.3.0.txt

Http://www.rabbitmq.com/access-control.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.