1. Understand the SCP firewall
In the Server Control Panel (SCP) you manage rules that apply before traffic reaches the server. Incoming traffic is blocked by default until you open ports. Rule order matters: a block rule higher up can override an allow rule below it.
Open only the ports you need: 22 (SSH), 80/443 (HTTP/HTTPS). Databases such as 3306 or 5432 do not belong on the public internet.