firewall-cmd --query-port=6376/tcp //查询该端口6376是否开放,返回nofirewall-cmd --zone=public --add-port=6376/tcp --permanent //将该端口改为永久开放,返回successfirewall-cmd --reload //重启防火墙firewall-cmd --query-port=6376/tcp //再次查询,返回yes