Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of not accessing the RabbitMQ management page in the Linux server

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly shows you "how to solve the problem of not accessing the RabbitMQ management page in the Linux server", the content is simple and clear, and I hope it can help you solve your doubts. Here, let the editor lead you to study and learn "how to solve the problem of not accessing the RabbitMQ management page in the Linux server".

Because a feature of my project requires messages to be sent to rabbitmq from the server, rabbitmq is installed in the linux server today. First install the erlang environment with yum, then install the rabbitmq service through rpm, and then configure the environment.

Systemctl start rabbitmq-server

Start rabbitmq, access ip:15672, and find that the server has denied access.

At first I suspected that it was the firewall, so I checked linux's firewall and Aliyun's firewall and found that port 15672 was open. So I started to troubleshoot the problem, and I found in the server, wget http://localhost:15762, that I couldn't access it, so it wasn't the firewall, so I used the command to find the process of rabbitmq.

Ps-ef | grep rabbitmq

It was found that there was content output, which proved that rabbitmq started successfully. Then I looked at the port number of rabbitmq and found that there was only 4369 port number, not 15672. So I tried to modify the configuration file and other operations to modify the port number, and found that there was no effect. After some time in Baidu, I found that I did not install the web plug-in, so I installed the web plug-in through the command.

Rabbitmq-plugins enable rabbitmq_management

After the installation was successful, I visited the management page and found that it still didn't work. Finally, I found that the plug-in startup location is under etc/rabbitmq by default, not under my rabbitmq installation location. Use the cd command to enter usr/lib/rabbitmq/bin.

Install the plug-in and restart the rabbitmq service.

Cd / usr/lib/rabbitmq/binrabbitmq-plugins enable rabbitmq_managementrabbitmqctl stoprabbitmq-server detached above are all the contents of this article entitled "how to solve the problem of not accessing the RabbitMQ management page in the Linux server". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report