True. It says permission denied so I am in under impression that someone else is using that port. here is the log that i got
Failed to start Ranch listener {acceptor,{0,0,0,0,0,0,0,0},1883} in ranch_tcp:listen([{port,1883},{ip,{0,0,0,0,0,0,0,0}},inet6,{backlog,128},{nodelay,true}]) for reason eacces (permission denied)
FYI.
- My os is RHEL 7
- RabbitMQ 3.6.9
- Added port into SELinux (using semanage command)
My other observation is, if I start rabbit service using sudo rabbitmq-server it get started but when I try to run as service using sudo systemctl start rabbitmq-server.service it fails.