宝塔配置了并且安全策略里面也改过了,但是访问8888端口无效,
2021-03-12 本文已影响0人
代瑶
[root@iZuf6cqobeh1iyr0ujz5i2Z ~]# vi /etc/sysconfig/iptables
加入这句-A INPUT -p tcp -m state --state NEW -m tcp --dport 8888 -j ACCEPT
[root@iZuf6cqobeh1iyr0ujz5i2Z ~]# service iptables restart