这个错误出现在阿福测试目标机子的下载的时候。wget发现居然Connecting to 173.44.160.16:80… failed: No route to host.
这个错误常常是目标机器防火墙配置错误造成的。显然我们得关闭防火墙,并且清空iptables规则
关闭SElinux
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/selinux/config
或者编辑/etc/selinux/config文件
将SELINUX=enforcing改成SELINUX=disabled
清空iptables规则
iptables -F
iptables -X
iptables -Z
未经允许不得转载:啊福主机 » No route to host