简文
这个刚开始没有注意,后来耽误了蛮多时间的所以记录下!
端口打开了监听,都是正常,但是就是无法链接,其原因就是防火墙没关,因为我是本地测试,所以我直接停用防火墙!
如果是公网服务器,那么你可以把端口加入到防火墙即可!
关闭防火墙命令
查看状态
systemctl status firewalld.service
打开防火墙
systemctl start firewalld.service
关闭防火墙
systemctl stop firewalld.service
开启防火墙
systemctl enable firewalld.service
禁用防火墙
systemctl disable firewalld.service
版权属于:疯狂的猿猴
本文链接:https://www.592850.com/archives/986.html
本站文章采用 知识共享署名4.0 国际许可协议 进行许可,请在转载时注明出处及本声明!