java.net.NoRouteToHostException: No route to host

zookeeper-user | Preston Chang | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    A question about “Cannot open channel to X at election address”

    zookeeper-user | 6 years ago | Preston Chang
    java.net.NoRouteToHostException: No route to host
  2. 0

    A question about “Cannot open channel to X at election address”

    zookeeper-user | 6 years ago | Preston Chang
    java.net.NoRouteToHostException: No route to host
  3. 0

    Explicity specify the port number for IIOP listener

    Oracle Community | 1 decade ago | 843830
    javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.NoRouteToHostException

      No route to host

      at sun.nio.ch.Net.connect()
    2. Java RT
      SocketChannel.open
      1. sun.nio.ch.Net.connect(Native Method)
      2. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
      3. java.nio.channels.SocketChannel.open(SocketChannel.java:146)
      3 frames
    3. Zookeeper
      FastLeaderElection$Messenger$WorkerSender.run
      1. org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:323)
      2. org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:302)
      3. org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:323)
      4. org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:296)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame