轉自官方網頁:http://www.firewalld.org/documentation/howto/open-a-port-or-service.html How to open port 80/tcp with firewall-cmd: 重啟後才能生效 Reload firewalld ...
轉自官方網頁:http://www.firewalld.org/documentation/howto/open-a-port-or-service.html
How to open port 80/tcp with firewall-cmd:
firewall-cmd --permanent --zone=public --add-port=80/tcp
重啟後才能生效
Reload firewalld
firewall-cmd --reload