방화벽 PORT 등록

[root@localhost /]# firewall-cmd --permanent --zone=public --add-port=8888/tcp
success 
[root@localhost ~]# firewall-cmd --reload 
success

방화벽 서비스 STOP

[root@localhost /]# systemctl stop firewalld

방화벽 Disable

[root@localhost /]# systemctl disable firewalld

방화벽에 등록된 PORT 리스트 확인

[root@localhost ~]# firewall-cmd --list-ports
21/tcp 1111/tcp 2222/tcp 8888/tcp 9999/tcp
Theme: Overlay by Kaira