firewall-cmd --get-active-zones
tcp
firewall-cmd --zone=public --add-port=8081/tcp --permanent
code
firewall-cmd --reload
get
firewall-cmd --query-port=8081/tcp
cmd
firewall-cmd --query-service http
firewall-cmd --add-service=http
> 臨時firewall-cmd --add-service=http --permanent
> 永久firewall-cmd --reload