I'm running Red Hat Enterprise Linux 7.2, I have installed RabbitMQ and systemctl status rabbitmq-server
shows
● rabbitmq-server.service - LSB: Enable AMQP service provided by RabbitMQ broker Loaded: loaded (/etc/rc.d/init.d/rabbitmq-server)
Active: active (running) since Wed 2016-08-17 11:25:56 JST; 1h 14min ago Docs: man:systemd-sysv-generator(8)
But when I want to configure it I cannot find the file: find / -iname "rabbitmq.config"
shows nothing.
I have an application which connects to 127.0.0.1:3000
, but the default port listened by RabbitMQ is 5672, so I want to add the port 3000 (hope it will fix the problem)
config under /etc/rabbitmq directory on linux servers. Locate the rabbitmq_management tuple and change the port value (default is 12345 , change it to whatever you want). Be sure to uncomment or add the following content into /etc/rabbitmq/rabbitmq. config file as shown below.
For windows, open PowerShell, and enter the following: bat status … {rabbit,"RabbitMQ","3.8.
By default, RabbitMQ logs are stored in /var/log/rabbitmq/rabbit@<hostname>. log. The default directory for log files is listed in the RabbitMQ. conf file.
RabbitMQ by default does not create the config file.
you have to create it, usually the location is:
/etc/rabbitmq/rabbitmq.config
See: https://www.rabbitmq.com/configure.html
and
https://www.rabbitmq.com/relocate.html
in 2021, 2022 i had to get the rabbitmq config file from their github:
rabbitmq.conf
and put it in the correct location (see rabbitmq configuration docs because the directory is different for each distro)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With