中午睡完午觉起来,发现亚马逊上的服务器不能访问了 ssh 连上服务器,发现 ping www.google.com 报无效的 Host 修改了 dns 之后,可以 ping www.google.com,但是发现 wget 和 curl 无法使用了,一直超时
[ec2-user@ip-172-31-14-205 ~]$ wget http://www.google.com --2019-03-09 23:24:00-- http://www.google.com/ Resolving www.google.com (www.google.com)... 172.217.8.196, 2607:f8b0:4009:810::2004 Connecting to www.google.com (www.google.com)|172.217.8.196|:80... failed: Connection timed out. Connecting to www.google.com (www.google.com)|2607:f8b0:4009:810::2004|:80... failed: Network is unreachable.
[ec2-user@ip-172-31-14-205 ~]$ curl www.google.com curl: (7) Failed to connect to www.google.com port 80: Connection timed out
求解,这个问题怎么解决呢