1.service firewalld status 如果开着不用管如果关闭需要打开
2.service firewalld start
3. 修改nginx配置文件 开放一个端口
vi /usr/local/nginx/conf/nginx.conf


4.firewall-cmd --zone=public --add-port=8899/tcp --permanen
5.netstat -tunlp
6.firewall-cmd --reload
7.nginx -s reload //重新加载
相关文章:
-
2021-11-30
-
2021-11-21
-
2021-12-10
-
2021-12-10
-
2022-01-07
-
2021-04-16
猜你喜欢
-
2021-11-30
-
2021-07-15
-
2021-11-21
-
2021-12-12
-
2021-10-30
-
2021-11-30
-
2021-11-30
相关资源
-
下载
2023-01-27
-
下载
2021-06-06
-
下载
2022-12-18