Prevent external attackers from probing database port 3306 over the public internet.
Step-by-Step Instructions
- Verify bind-address = 127.0.0.1 in /etc/mysql/mariadb.conf.d/50-server.cnf.
- Restart MariaDB and confirm port 3306 only listens on 127.0.0.1.
sudo ss -tlnp | grep 3306Pro Tip: Use an SSH tunnel (ssh -L 3307:127.0.0.1:3306 root@IP) when connecting remotely from desktop SQL tools.
Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.