Linux - Firewalld

On this page

Terminal window
sudo firewall-cmd --permanent --add-port=80/tcp --add-port=443/tcp

Open a Port or Service