Skip to content

Disabling seemingly default services #4076

Answered by badlop
emilyyyylime asked this question in Questions
Discussion options

You must be logged in to vote

the container is listening

I imagine the container has those ports opened because Dockerfile says:

EXPOSE 1883 4369-4399 5222 5269 5280 5443

I'd really prefer to have those disabled

ejabberd itself is not listening on them. You can check on ejabberd.log that your case does not show so many opened ports as usual:

2023-08-09 19:16:46.063445+02:00 [info] Start accepting UDP connections at [::]:3478 for ejabberd_stun
2023-08-09 19:16:46.063757+02:00 [info] Start accepting TCP connections at [::]:5222 for ejabberd_c2s
2023-08-09 19:16:46.063774+02:00 [info] Start accepting TLS connections at [::]:5223 for ejabberd_c2s
2023-08-09 19:16:46.063979+02:00 [info] Start accepting TCP connections…

Replies: 1 comment

Comment options

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