Skip to content

How to set rabbitmq_management only listen on port 15671? #7363

Closed Answered by michaelklishin
HScarb asked this question in Questions
Discussion options

You must be logged in to vote

I will copy a response in #12544 here because apparently someone still lands on this discussion in late 2024.

As for a way to disable the regular TCP listener, it is as trivial as not configuring it at all.

Given the following rabbitmq.conf:

#
# Management
#

management.http_log_dir = /tmp/rabbitmq-http-api/logs/

management.ssl.port = 15671

management.ssl.cacertfile = /path/to/tls-gen.git/basic/result/ca_certificate.pem
management.ssl.certfile   = /path/to/tls-gen.git/basic/result/server_certificate.pem
management.ssl.keyfile    = /path/to/tls-gen.git/basic/result/server_key.pem

You will get the following listeners enabled:

rabbitmq-diagnostics listeners | grep "HTTP API"
# => Interface…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@michaelklishin
Comment options

@stgns
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants