Connecting to 192.168.220.41:80... failed: No route to host 报错处理

系统环境:两台虚机网络互相可以 ping 通,其中 a 主机搭建了 ftp,b 主机获取文件时保错。

[root@fastdfsdht tmp]# wget 192.168.220.41
--2021-03-10 10:26:39--  http://192.168.220.41/
Connecting to 192.168.220.41:80... failed: No route to host.
[root@fastdfsdht tmp]# wget 192.168.220.41
--2021-03-10 10:28:15--  http://192.168.220.41/
Connecting to 192.168.220.41:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5374 (5.2K) [text/html]
Saving to: ‘index.html’

100%[===================================================================================================================>] 5,374       --.-K/s   in 0s      

2021-03-10 10:28:15 (457 MB/s) - ‘index.html’ saved [5374/5374]

a 主机清理防火墙策略

iot@iot:/tmp$ sudo iptables -F