服務器配置了防火牆,開放部分端口

root@Mrtan bin]# firewall-cmd --zone=public --add-port=18083/tcp --permanent
success
[root@Mrtan bin]# systemctl restart firewalld
[root@Mrtan bin]# firewall-cmd --zone=public --add-port=3306/tcp --permanent
success
[root@Mrtan bin]# systemctl restart firewalld
[root@Mrtan bin]# firewall-cmd --zone=public --add-port=1883/tcp --permanent
success
[root@Mrtan bin]# systemctl restart firewalld

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章