本地开发可以这样操作,生产环境应避免关闭防火墙
1 | systemctl status firewalld #查看防火墙状态 |
若遇到无法开启
1 | systemctl unmask firewalld.service #1 |
开放端口
1 | #查询端口号80是否开启: |
1 | systemctl status firewalld #查看防火墙状态 |
1 | systemctl unmask firewalld.service #1 |
1 | #查询端口号80是否开启: |
Update your browser to view this website correctly. Update my browser now