Yarr! How to disable service ports?

Hey all!

Is there a way to disable specific ports, like 9090 for the unsecured admin access?

Or the deprecated 5223 port? The flash port… etc

Yes, I am currently blocking those ports with a firewall, it’s just cleaner to disable them within the server itsself.

Thank you for your help,

-Christian.

I take it that it isn’t possible then.