java.net.ConnectException: Connection refused: no further information

Apache's JIRA Issue Tracker | Rakesh R | 3 years ago
  1. 0

    [ZOOKEEPER-1904] WatcherTest#testWatchAutoResetWithPending is failing - ASF JIRA

    apache.org | 11 months ago
    java.net.ConnectException: Connection refused: no further information
  2. 0

    Following is the stacktrace taken from [Build : ZooKeeper-3.4-WinVS2008_java/465|https://builds.apache.org/job/ZooKeeper-3.4-WinVS2008_java/465/] {code} [junit] 2014-03-19 09:28:50,020 [myid:] - INFO [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@975] - Opening socket connection to server 127.0.0.1/127.0.0.1:11278. Will not attempt to authenticate using SASL (unknown error) [junit] 2014-03-19 09:28:51,025 [myid:] - WARN [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@1102] - Session 0x144d9ab1f9e0000 for server null, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused: no further information [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) [junit] 2014-03-19 09:28:52,661 [myid:] - INFO [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@975] - Opening socket connection to server 127.0.0.1/127.0.0.1:11278. Will not attempt to authenticate using SASL (unknown error) [junit] 2014-03-19 09:28:53,640 [myid:] - WARN [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@1102] - Session 0x144d9ab1f9e0000 for server null, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused: no further information [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) [junit] 2014-03-19 09:28:55,435 [myid:] - INFO [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@975] - Opening socket connection to server 127.0.0.1/127.0.0.1:11278. Will not attempt to authenticate using SASL (unknown error) [junit] 2014-03-19 09:28:56,111 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@62] - TEST METHOD FAILED testWatchAutoResetWithPending [junit] java.util.concurrent.TimeoutException: Did not disconnect [junit] at org.apache.zookeeper.test.ClientBase$CountdownWatcher.waitForDisconnected(ClientBase.java:145) [junit] at org.apache.zookeeper.test.WatcherTest.testWatchAutoResetWithPending(WatcherTest.java:202) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {code}

    Apache's JIRA Issue Tracker | 3 years ago | Rakesh R
    java.net.ConnectException: Connection refused: no further information
  3. 0

    Error occurs when opening the server

    GitHub | 3 years ago | mickshi
    java.net.ConnectException: Connection refused: no further information
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to connect to remote hbase from java program

    Stack Overflow | 3 years ago | Y0gesh Gupta
    java.net.ConnectException: Connection refused: no further information
  6. 0

    SASL configuration failed: unable to find RemotingLoginModule in Arquillian integration test

    Stack Overflow | 2 years ago | kala
    java.net.ConnectException: Connection refused: no further information

  1. RoiOtero 525 times, last 1 week ago
  2. nasimk 1595 times, last 13 hours ago
  3. Raggyman 30496 times, last 2 months ago
  4. Piz 204 times, last 4 months ago
  5. nasimk 78 times, last 5 months ago
10 more registered users
78 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused: no further information

    at sun.nio.ch.SocketChannelImpl.checkConnect()
  2. Java RT
    SocketChannelImpl.finishConnect
    1. sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    2. sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
    2 frames
  3. Zookeeper
    ClientCnxn$SendThread.run
    1. org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    2. org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
    2 frames