gpt4 book ai didi

windows - 尽管 Web 浏览器在同一台计算机上运行,​​但 Ping 请求超时

转载 作者:可可西里 更新时间:2023-11-01 13:12:07 26 4
gpt4 key购买 nike

我现在在万维网上,在 StackOverflow 上发帖就是证明。但是,如果我尝试从命令行 ping stackoverflow.com,ping 会超时。我需要做什么才能使 ping 正常工作?

> ping stackoverflow.com

Pinging stackoverflow.com [198.252.206.140] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 198.252.206.140:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

编辑,试试tracert

> tracert stackoverflow.com

Tracing route to stackoverflow.com [198.252.206.140] over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
...
Trace complete.

它是 请求超时。 一直到 30 跳。

编辑,尝试ping google.com

同样的结果。 :-)

最佳答案

有些主机有防火墙,可以阻止 ICMP ( http://ca.wikipedia.org/wiki/Internet_Control_Message_Protocol ) 数据包,如 ping。您可以使用 traceroute(cmd 行工具或在线网站,如 http://ping.eu/traceroute/)或 tcptraceroute(http://linux.die.net/man/1/tcptraceroute)。

一些路由器也有阻止 ICMP 的防火墙。您可以通过 ping google.com 检测到这一点。它失败了,那么问题出在您的本地路由器上,而不是远程主机。

希望对你有帮助

关于windows - 尽管 Web 浏览器在同一台计算机上运行,​​但 Ping 请求超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29826271/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com