小编Kri*_*ofM的帖子

没有通过 ipv4 的传出连接

我在我拥有的 VPS(Debian 8.6)上遇到了奇怪的行为,老实说,我已经到了不知道如何进一步调查或修复它的地步。

据我所知,操作系统只能处理对 IPv6 地址的传出请求,而不能处理对 IPv4 地址的传出请求:

在 IPv4 上对谷歌的 curl 请求:

$ curl -v -4 google.be
* Rebuilt URL to: google.be/
* Hostname was NOT found in DNS cache
*   Trying 172.217.17.67...
* connect to 172.217.17.67 port 80 failed: Connection timed out
* Failed to connect to google.be port 80: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to google.be port 80: Connection timed out
Run Code Online (Sandbox Code Playgroud)

跟踪路由到 IPv4 上的谷歌:

$ traceroute 172.217.17.67
traceroute to 172.217.17.67 …
Run Code Online (Sandbox Code Playgroud)

debian linux-networking ipv4

3
推荐指数
1
解决办法
468
查看次数

标签 统计

debian ×1

ipv4 ×1

linux-networking ×1