firewalld Runtime vs Permanent
You run firewall-cmd --permanent --zone=public --add-service=https. The command prints success, but clients still cannot reach port 443. Nginx is listening. What is the most likely reason?
firewall-cmd --permanent --zone=public --add-service=https
success
Choose one answer
--permanent only changes the saved configuration; the running firewall changes after firewall-cmd --reload.
--permanent
firewall-cmd --reload
firewalld only applies changes after a full systemctl restart firewalld, because --permanent rules can't be loaded while the daemon is running.
systemctl restart firewalld
The https service only opens port 8443 until you also add --add-port=443/tcp.
https
--add-port=443/tcp
The https service must be added to the trusted zone, not public.
trusted
public