解决办法:

不管防火墙关没关,都是用systemctl stop firewalld 关闭防火墙。

然后使用yum install iptables-services 安装或者更新服务,废话没有,直接上图

 

Linux 下 没有 /etc/sysconfig/iptables文件,无法进行端口开放

 

 

这个时候是这样的:

 

Linux 下 没有 /etc/sysconfig/iptables文件,无法进行端口开放

然后使用systemctl enable iptables 启动iptables

最后使用systemctl start iptables 打开iptables

去配置你的端口吧,让你的虚拟机开黑吧,拱坝的。。。

相关文章:

  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2022-01-11
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
相关资源
相似解决方案