[rabbitmq-discuss] Cannot change the STOMP port on the CentOS?

Quan Tong Anh quanta.linux at gmail.com
Tue May 8 10:11:38 BST 2012


- rabbitmq-server-2.8.2-1

# cat rabbitmq.config 
[
  {rabbitmq_stomp, [{tcp_listeners, [{"127.0.0.1", 6163},
                                     {"::1",       6163}]}]}
].


Restarting the rabbitmq-server, but it still listen to the default port:

# netstat -nlp | grep 4316
tcp        0      0 0.0.0.0:58424               0.0.0.0:*                   
LISTEN      4316/beam.smp       
tcp        0      0 :::5672                     :::*                       
 LISTEN      4316/beam.smp       
tcp        0      0 :::61613                    :::*                       
 LISTEN      4316/beam.smp       


I suspect that the init script doesn't read the config file. I've tried to 
put the following in the `rabbitmq-env.conf`:

CONFIG_FILE=/etc/rabbitmq/rabbitmq.config


but nothing changes.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120508/555bd6e3/attachment.htm>


More information about the rabbitmq-discuss mailing list