Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Get detailed UFW status on Ubuntu—install with
apt install ufw
allow SSH with
ufw allow 22
HTTP with
ufw allow 80
and enable with
ufw enable
Run
ufw status verbose
—expect output like \"Status: active Logging: on (low) Default: deny (incoming) allow (outgoing) 22/tcp ALLOW Anywhere\" Add HTTPS with
ufw allow 443
and recheck—see all rules and policies On DigitalOcean this helps debug MySQL or FTP access—enable high logging with
ufw logging high
and check /var/log/ufw log ensuring uptime with clear firewall insights

Back to All Tips