NoRouteToHostException on client or server?

后端 未结 6 2329
無奈伤痛
無奈伤痛 2021-02-19 19:24

I am getting

Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.do         


        
6条回答
  •  梦谈多话
    2021-02-19 20:26

    I had the same issue, I did run iptables flush on host server, this fixed the issue.

    # iptables --flush 
    

提交回复
热议问题