全球主机交流论坛
标题:
主机能ping能ssh但不能wget什么情况?
[打印本页]
作者:
createwell
时间:
2018-12-21 10:57
标题:
主机能ping能ssh但不能wget什么情况?
主机能ping能ssh 但是不能用wget apt get 什么情况?80端口被墙了?
作者:
lifetyper
时间:
2018-12-21 10:58
提示:
作者被禁止或删除 内容自动屏蔽
作者:
海音
时间:
2018-12-21 10:59
lifetyper 发表于 2018-12-21 10:58
TCP阻断。
TCP阻断的话是连SSH都连不上了
作者:
plesk002
时间:
2018-12-21 10:59
應該是DNS問題。
作者:
lifetyper
时间:
2018-12-21 11:01
提示:
作者被禁止或删除 内容自动屏蔽
作者:
createwell
时间:
2018-12-21 11:58
lifetyper 发表于 2018-12-21 11:01
嗯,我刚才没注意看,后来觉得应该是DNS的问题。
*** System restart required ***
Last login: Fri Dec 14 04:49:58 2018 from 107.148.254.129
ubuntu@ip-172-31-30-198:~$ wget google.com
--2018-12-21 02:47:05-- http://google.com/
Resolving google.com (google.com)... 216.58.216.238, 2607:f8b0:4009:811::200e
Connecting to google.com (google.com)|216.58.216.238|:80...
failed: Connection timed out.
Connecting to google.com (google.com)|2607:f8b0:4009:811::200e|:80... failed: Network is unreachable.
ubuntu@ip-172-31-30-198:~$
ubuntu@ip-172-31-30-198:~$
ubuntu@ip-172-31-30-198:~$
ubuntu@ip-172-31-30-198:~$
ubuntu@ip-172-31-30-198:~$ ping google.com
PING google.com (172.217.0.14) 56(84) bytes of data.
64 bytes from ord38s04-in-f14.1e100.net (172.217.0.14): icmp_seq=1 ttl=44 time=18.1 ms
64 bytes from ord38s04-in-f14.1e100.net (172.217.0.14): icmp_seq=2 ttl=44 time=18.5 ms
64 bytes from ord38s04-in-f14.1e100.net (172.217.0.14): icmp_seq=3 ttl=44 time=18.2 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 18.146/18.290/18.519/0.226 ms
ubuntu@ip-172-31-30-198:~$ wget https://google.com
--2018-12-21 02:51:26-- https://google.com/
Resolving google.com (google.com)... 172.217.4.238, 2607:f8b0:4009:80b::200e
Connecting to google.com (google.com)|172.217.4.238|:443...
^C
ubuntu@ip-172-31-30-198:~$
作者:
createwell
时间:
2018-12-21 12:13
感觉和dns无关啊,能解析啊也正确啊。
作者:
tomcb
时间:
2018-12-21 12:20
关了v6试下看
作者:
sdy413
时间:
2018-12-21 13:14
关 防火墙 再试
欢迎光临 全球主机交流论坛 (https://443502.xyz/)
Powered by Discuz! X3.4