尽管在同一台计算机上网络浏览器可以正常使用,但 Ping 请求超时。

9

我现在正在使用万维网,正如我在StackOverflow上发布的内容所证明的那样。然而,如果我尝试从命令行运行ping stackoverflow.com,则会超时。我需要做什么才能使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

结果相同。:-)

1个回答

6

1
可能是他路由器上的防火墙规则。我自己也曾经做过完全相同的事情。 :X - Phil Walton
@PhilWalton 我在咖啡馆,使用它的路由器。有没有办法确定这是咖啡馆的路由器? - Shaun Luttin
1
@ShaunLuttin 如果你仍然收到丢失的数据包,那是因为你(路由器、硬件防火墙、软件防火墙等)正在阻止该数据包。你可以使用 ping google.com - nada
2
@ShaunLuttin 是的,但我知道google.com接受ICMP数据包,所以如果你不能ping通google.com,那可能是因为防火墙等问题。如果可以的话,请使用“TCPtraceroute”。你可以使用这个工具指定端口80,在几乎所有情况下,端口80都是开放的。 - nada
所以,鉴于我的tracert结果和在“google.com”上对它们的复制,这是咖啡馆的路由器吗? - Shaun Luttin
显示剩余2条评论

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接