V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
LPeJuN6lLsS9
V2EX  ›  问与答

关于 socket 的 no route to host 错误

  •  
  •   LPeJuN6lLsS9 · Apr 16, 2016 · 1166 views
    This topic created in 3667 days ago, the information mentioned may be changed or developed.
    在 linux 服务器上跑的梯子的日志里看到了这么个错误(错误代码 113 ),回忆了一下,似乎当时无线网络莫名其妙抽风得厉害,连接断断续续。

    于是想问,这个错误是路由器发 ICMP 的 host unreachable 导致的吗,这种行为有什么意义(以前用 CMCC 的公共热点时也常抽风,无类似行为。这次用的路由刷了 dd-wrt )
    2 replies    2016-04-16 21:08:59 +08:00
    jasontse
        1
    jasontse  
       Apr 16, 2016 via iPad
    抽风时如果你的 Linux 主机上没有到达目标 Host 的路由时就会出现此错误
    错误出现时可以通过 ip route show 来检查路由表
    LPeJuN6lLsS9
        2
    LPeJuN6lLsS9  
    OP
       Apr 16, 2016
    @jasontse 服务器的路由表是没问题的,我从来没动过,客户端那边无线网络抽风结束就一切正常了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   842 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:49 · PVG 03:49 · LAX 12:49 · JFK 15:49
    ♥ Do have faith in what you're doing.