firewall-cmd --zone=public --add-port=8888/tcp --permanent
查看啊防火墙状态
systemctl status firewalld
停用防火墙
systemctl stop firewalld
启动重启防火墙
systemctl restart firewalld