Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 339

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 392

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 394
ubuntu20.4用ufw开放了目标端口以及停用掉ufw仍然无法访问怎么解决 - Joyber 的博客

关闭系统防火墙(没有安装防火墙也要操作,关闭了控制台防火墙,主机默认只能被访问22端口,其他端口仍然闭塞,ubuntu安全策略限制)

注意:以下命令会重启服务器:

# 开放所有端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
 
# 删除防火墙
apt-get purge netfilter-persistent && reboot
或 rm -rf /etc/iptables && reboot

标签: none

添加新评论