firewall-cmd --add-port=443/tcp --permanent

Category: Security & Hardening

firewall-cmd --add-port=443/tcp --permanent

Permanently open a TCP port in firewalld

Adds port 443/tcp to the default zone and saves it across reboots with --permanent. Without that flag the change lasts only until reload. Ports opened this way are usually service-specific; prefer named services like --add-service=https when available.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.