NODENAME=rabbit
# By default RabbitMQ will bind to all interfaces, on IPv4 and IPv6 if
# available. Set this if you only want to bind to one network interface or#
# address family.
NODE_IP_ADDRESS=20.192.12.144
# Defaults to 5672.
#NODE_PORT=5672
listeners.tcp.default = 5672
I have my rabbit mqtt server running in my linux vm.
It only has rabbitmq-env.conf file and it is all commented. When I tried to change it I get the error while starting my mqtt as Job for rabbitmq-server.service failed because the control process exited with error code.
See “systemctl status rabbitmq-server.service” and “journalctl -xe” for details.
I tried changing my config file but whenever I uncomment a line My mqtt server is not starting.
I wanted to edit a config in such a way it listens to my local and public ip of my linux vm.
listeners.tcp.default = 0.0.0.0:5672,20.192.12.144:5672
this above line is what I am trying to add which is causing an issue.
I have an c# app which publishes to the rabbitmq. It works fine when I point to localhost. But when I try to point to the Ip from another server it doesn’t work.
Please do help me to configure my rabbit mqtt to listen to my publicIP along with localhost.