[rabbitmq-discuss] 2.4.1, RABBITMQ_SERVER_START_ARGS, and the management plugin

Jason Klassen Jason.Klassen at protegra.com
Thu Jun 16 17:33:54 BST 2011

How can that listener be configured using RABBITMQ_SERVER_START_ARGS?  I want to be able to pass the port of the listener in on the args for rabbitmq-server.bat.  I won't know this port ahead of time to put it in the rabbitmq.config file.


-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Joseph Marlin
Sent: June-16-11 11:30 AM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] 2.4.1, RABBITMQ_SERVER_START_ARGS, and the management plugin

You have to configure a listener:

  {rabbitmq_mochiweb, [{listeners, [{'*',  [{port, 55670}]},,
                                    {mgmt, [{port, 55555}]}]}]},

On Jun 16, 12:07 pm, Jason Klassen <Jason.Klas... at protegra.com> wrote:
> Hi,
> We're using rabbitMQ server 2.4.1 and the management plugin.  I want to run the management plugin on a different port than 55672 and have it set using the rabbitmq-server.bat.
> Using the example from the clustering documentation I added this line
>     set RABBITMQ_SERVER_START_ARGS="-rabbitmq_mochiweb port 54444"
> after
>     setlocal enabledelayedexpansion
> but then running
>     rabbitmq-server.bat
> will successfully activate the plugins but the management plugin still starts up on 55672 and not 54444
>    http://localhost:55672/mgmt/#/ =  works
>    http://localhost:54444/mgmt/#/= fails
> How can I start the management plugin on a different port using the RABBITMQ_SERVER_START_ARGS?
> Thanks,
> Jason Klassen
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com

More information about the rabbitmq-discuss mailing list