NoRouteToHostException on client or server?

后端 未结 6 2705
無奈伤痛
無奈伤痛 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:28

    I had the same issue, and resolve it by disabling the firewall on both sides :

    systemctl disable firewalld

    service firewalld stop

提交回复
热议问题