Modify the port of the RABBITMQ Web UI monitoring page

Source: Internet
Author: User
Tags rabbitmq

In the first few days of work encountered a problem, the deployment of the server, you need to use RABBITMQ to bring a Web UI monitoring component, but 15672 of the port is not mapped externally. Several approaches have been tried. Beginning to modify the Rabbitmq.config,rabbitmq-ebv.config, is always unsuccessful, because the change is the rabbitmq-server of the boot port number, from the outside access is the Web UI component launched by the port number, the two are not the same. And then try to rabbitmqadmin, because the Web UI monitoring page is also called Httpapi, rabbitmqadmin is to download a text file from the official website to give executable permission, note that you place this file location in your path. Baidu has not been a half-day, and then went to the
http://stackoverflow.com/questions/28461823/rabbitmq-management-console-on-cloud9/28472142#28472142
The above check the answer, usually no VPN is seldom used. It's a little bit of a slip, just a few minutes to find it.

Original:

I ' m new to RabbitMQ, but after a bit of Googling and experimentation,
I was able to run the management console.

The problem is this only port 8080 are forwarded from your CLOUD9
Workspace, and RabbitMQ ' s default port is explained here:

The Web UI is located at:http://server-name:15672/to fix, we need to
Modify the configuration to start of the Web UI at Port 8080. Here is
The steps I followed to get this working:

Install RabbitMQ (Steps outlined here:
http://www.rabbitmq.com/install-debian.html) Enable the management
Console:sudo rabbitmq-plugins Enable rabbitmq_management there wasn ' t
A rabbitmq.config file for me inRABBITMQHOME/ETC/RABBITMQ/,SOICOPIEDTHEEXAMPLEFROM/USR/SHARE/DOC/RABBITMQ−SERVER/(AFTer un zi pp in gi t) . ed it ed Rabbitmq_home/etc/rabbitmq/rabbitmq.config and
Found the Rabbitmq_management key. There ' s already an existing setup
That ' s commented out. I replaced it with:

{Listener, [{port, 8080},
{IP, "0.0.0.0"},
{SSL, false}]}

Then I restarted the RabbitMQ server and visiting my URL, i.e.:
Https://-.c9.io showed me the RabbitMQ
Management login screen.

Hope this helps!

In fact, it feels like the format of his profile is a bit strange, unlike JSON and JSON.

[Email protected] ~]#lsAnaconda-ks.cfg post-InstallDesktop Post-Install. logdocuments publicdownloads RABBITMQ-server-3.5.6-1. Noarch.rpmerlang-17.4-1. el6.x86_64.rpm templatesmusic videospictures[[email protected]~]# cd/usr/share/doc/rabbitmq-server-3.5.6/[email protected] RABBITMQ-server-3.5.6]#lsLICENSE LICENSE-bsd-glmatrix license-mit-Mochilicense-apache2-explorercanvas License-mit-ejs10 license-mit-Sammy060license-apache-basho License-mit-eldap license-mpl-Rabbitmqlicense-apl2-stomp-websocket license-mit-Flot Rabbitmq.config.exampleLICENSE-bsd-base64js license-mit-jQuery164 readme[[email protected] RABBITMQ-server-3.5.6]#CP/usr/share/doc/rabbitmq-server-3.5.6/rabbitmq.config.example/etc/rabbitmq/[[Email protected] rabbitmq]# CD/etc/rabbitmq/[email protected] rabbitmq]#MVrabbitmq.config.example rabbitmq.config[[email protected] rabbitmq]# vim rabbitmq.config

{rabbitmq_management,  [{listener, [{port,     8080},             {IP,       ' 0.0.0.0 " },             {SSL,     false}]},

When you stick it in, look at the parentheses, and if you don't start up, watch the log add or reduce the parentheses.

Modify the port of the RABBITMQ Web UI monitoring page

Related Article

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.