TCP, UDP, and what not to expose
Java edition commonly uses TCP 25565. Bedrock uses UDP 19132. Geyser, query, and RCON add more sockets that are easy to misconfigure. This checklist builds a table for your stack and generates firewall allow rules you can paste on a VPS.
RCON and private backend ports should stay off the public internet. The tool calls those out so you do not open management ports by mistake.