java.net.ConnectException: Connection refused: connect

smartfoxserver.com | 4 months ago
  1. 0

    Exception on reconnect attempt - smartfoxserver.com

    smartfoxserver.com | 4 months ago
    java.net.ConnectException: Connection refused: connect
  2. 0

    Clients can't connect to hz cluster

    GitHub | 2 years ago | pveentjer
    com.hazelcast.core.HazelcastException: java.net.ConnectException: Connection refused
  3. 0

    Log improvements for client reconnect

    GitHub | 3 years ago | StanAccy
    com.hazelcast.spi.exception.RetryableIOException: java.util.concurrent.ExecutionException: com.hazelcast.core.HazelcastException: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lots of JVM's on EC2 causes connection problems

    GitHub | 3 years ago | pveentjer
    com.hazelcast.core.HazelcastException: java.net.ConnectException: Connection refused
  6. 0

    Client shutdown causes extra log noise if servers are down

    GitHub | 2 years ago | ianslai
    com.hazelcast.core.HazelcastException: java.net.ConnectException: Connection refused

  1. Vincent Ostermann 2 times, last 8 months ago
6 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: connect

    at sun.nio.ch.Net.connect()
  2. Java RT
    SocketAdaptor.connect
    1. sun.nio.ch.Net.connect(Native Method)
    2. sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
    3. sun.nio.ch.SocketAdaptor.connect(Unknown Source)
    4. sun.nio.ch.SocketAdaptor.connect(Unknown Source)
    4 frames
  3. org.xsocket.stream
    NonBlockingConnection.<init>
    1. org.xsocket.stream.io.impl.IoProvider.openSocket(IoProvider.java:356)
    2. org.xsocket.stream.io.impl.IoProvider.createClientIoHandler(IoProvider.java:219)
    3. org.xsocket.stream.Connection.<init>(Connection.java:162)
    4. org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:396)
    5. org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:209)
    5 frames
  4. it.gotoandplay.utils
    XMLSocket.connect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:134)
    1 frame
  5. it.gotoandplay.smartfoxclient
    SmartFoxClient.connect
    1. it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1237)
    1 frame
  6. com.nhm.dlltest
    SocketConnector.handleEvent
    1. com.nhm.dlltest.SocketConnector.handleEvent(SocketConnector.java:301)
    1 frame
  7. it.gotoandplay.smartfoxclient
    SmartFoxClient.onError
    1. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    2. it.gotoandplay.smartfoxclient.SmartFoxClient.dispatchConnectionError(SmartFoxClient.java:4550)
    3. it.gotoandplay.smartfoxclient.SmartFoxClient.handleEvent(SmartFoxClient.java:4431)
    4. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    5. it.gotoandplay.smartfoxclient.http.HttpConnection.send(HttpConnection.java:165)
    6. it.gotoandplay.smartfoxclient.http.HttpConnection.connect(HttpConnection.java:68)
    7. it.gotoandplay.smartfoxclient.SmartFoxClient.tryBlueBoxConnection(SmartFoxClient.java:4498)
    8. it.gotoandplay.smartfoxclient.SmartFoxClient.onError(SmartFoxClient.java:4471)
    8 frames
  8. it.gotoandplay.utils
    XMLSocket.connect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.fireErrorEvent(XMLSocket.java:206)
    2. it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:140)
    2 frames
  9. it.gotoandplay.smartfoxclient
    SmartFoxClient.connect
    1. it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1237)
    1 frame
  10. com.nhm.dlltest
    SocketConnector.handleEvent
    1. com.nhm.dlltest.SocketConnector.handleEvent(SocketConnector.java:301)
    1 frame
  11. it.gotoandplay.smartfoxclient
    SmartFoxClient.onError
    1. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    2. it.gotoandplay.smartfoxclient.SmartFoxClient.dispatchConnectionError(SmartFoxClient.java:4550)
    3. it.gotoandplay.smartfoxclient.SmartFoxClient.handleEvent(SmartFoxClient.java:4431)
    4. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    5. it.gotoandplay.smartfoxclient.http.HttpConnection.send(HttpConnection.java:165)
    6. it.gotoandplay.smartfoxclient.http.HttpConnection.connect(HttpConnection.java:68)
    7. it.gotoandplay.smartfoxclient.SmartFoxClient.tryBlueBoxConnection(SmartFoxClient.java:4498)
    8. it.gotoandplay.smartfoxclient.SmartFoxClient.onError(SmartFoxClient.java:4471)
    8 frames
  12. it.gotoandplay.utils
    XMLSocket.connect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.fireErrorEvent(XMLSocket.java:206)
    2. it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:140)
    2 frames
  13. it.gotoandplay.smartfoxclient
    SmartFoxClient.connect
    1. it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1237)
    1 frame
  14. com.nhm.dlltest
    SocketConnector.handleEvent
    1. com.nhm.dlltest.SocketConnector.handleEvent(SocketConnector.java:301)
    1 frame
  15. it.gotoandplay.smartfoxclient
    SmartFoxClient.onError
    1. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    2. it.gotoandplay.smartfoxclient.SmartFoxClient.dispatchConnectionError(SmartFoxClient.java:4550)
    3. it.gotoandplay.smartfoxclient.SmartFoxClient.handleEvent(SmartFoxClient.java:4431)
    4. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    5. it.gotoandplay.smartfoxclient.http.HttpConnection.send(HttpConnection.java:165)
    6. it.gotoandplay.smartfoxclient.http.HttpConnection.connect(HttpConnection.java:68)
    7. it.gotoandplay.smartfoxclient.SmartFoxClient.tryBlueBoxConnection(SmartFoxClient.java:4498)
    8. it.gotoandplay.smartfoxclient.SmartFoxClient.onError(SmartFoxClient.java:4471)
    8 frames
  16. it.gotoandplay.utils
    XMLSocket.connect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.fireErrorEvent(XMLSocket.java:206)
    2. it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:140)
    2 frames
  17. it.gotoandplay.smartfoxclient
    SmartFoxClient.connect
    1. it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1237)
    1 frame
  18. com.nhm.dlltest
    SocketConnector.handleEvent
    1. com.nhm.dlltest.SocketConnector.handleEvent(SocketConnector.java:301)
    1 frame
  19. it.gotoandplay.smartfoxclient
    SmartFoxClient.onError
    1. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    2. it.gotoandplay.smartfoxclient.SmartFoxClient.dispatchConnectionError(SmartFoxClient.java:4550)
    3. it.gotoandplay.smartfoxclient.SmartFoxClient.handleEvent(SmartFoxClient.java:4431)
    4. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    5. it.gotoandplay.smartfoxclient.http.HttpConnection.send(HttpConnection.java:165)
    6. it.gotoandplay.smartfoxclient.http.HttpConnection.connect(HttpConnection.java:68)
    7. it.gotoandplay.smartfoxclient.SmartFoxClient.tryBlueBoxConnection(SmartFoxClient.java:4498)
    8. it.gotoandplay.smartfoxclient.SmartFoxClient.onError(SmartFoxClient.java:4471)
    8 frames
  20. it.gotoandplay.utils
    XMLSocket.connect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.fireErrorEvent(XMLSocket.java:206)
    2. it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:140)
    2 frames
  21. it.gotoandplay.smartfoxclient
    SmartFoxClient.connect
    1. it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1237)
    1 frame
  22. com.nhm.dlltest
    SocketConnector.handleEvent
    1. com.nhm.dlltest.SocketConnector.handleEvent(SocketConnector.java:301)
    1 frame
  23. it.gotoandplay.smartfoxclient
    SmartFoxClient.onError
    1. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    2. it.gotoandplay.smartfoxclient.SmartFoxClient.dispatchConnectionError(SmartFoxClient.java:4550)
    3. it.gotoandplay.smartfoxclient.SmartFoxClient.handleEvent(SmartFoxClient.java:4431)
    4. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    5. it.gotoandplay.smartfoxclient.http.HttpConnection.send(HttpConnection.java:165)
    6. it.gotoandplay.smartfoxclient.http.HttpConnection.connect(HttpConnection.java:68)
    7. it.gotoandplay.smartfoxclient.SmartFoxClient.tryBlueBoxConnection(SmartFoxClient.java:4498)
    8. it.gotoandplay.smartfoxclient.SmartFoxClient.onError(SmartFoxClient.java:4471)
    8 frames
  24. it.gotoandplay.utils
    XMLSocket.connect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.fireErrorEvent(XMLSocket.java:206)
    2. it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:140)
    2 frames
  25. it.gotoandplay.smartfoxclient
    SmartFoxClient.connect
    1. it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1237)
    1 frame
  26. com.nhm.dlltest
    SocketConnector.handleEvent
    1. com.nhm.dlltest.SocketConnector.handleEvent(SocketConnector.java:337)
    1 frame
  27. it.gotoandplay.smartfoxclient
    SmartFoxClient.onClose
    1. it.gotoandplay.smartfoxclient.SFSEventDispatcher.dispatchEvent(SFSEventDispatcher.java:96)
    2. it.gotoandplay.smartfoxclient.SmartFoxClient.onClose(SmartFoxClient.java:4465)
    2 frames
  28. it.gotoandplay.utils
    XMLSocketClientHandler.onDisconnect
    1. it.gotoandplay.utils.net.xmlsocket.XMLSocket.fireDisconnectEvent(XMLSocket.java:196)
    2. it.gotoandplay.utils.net.xmlsocket.XMLSocketClientHandler.onDisconnect(XMLSocketClientHandler.java:36)
    2 frames
  29. org.xsocket.stream
    IoMultithreadedHandler$TaskQueueProcessor.run
    1. org.xsocket.stream.NonBlockingConnection.onDisconnectEvent(NonBlockingConnection.java:856)
    2. org.xsocket.stream.Connection$HandlerCallback.onDisconnect(Connection.java:1589)
    3. org.xsocket.stream.io.impl.IoMultithreadedHandler$IOEventHandler$3.run(IoMultithreadedHandler.java:181)
    4. org.xsocket.stream.io.impl.IoMultithreadedHandler$TaskQueueProcessor.processTask(IoMultithreadedHandler.java:277)
    5. org.xsocket.stream.io.impl.IoMultithreadedHandler$TaskQueueProcessor.run(IoMultithreadedHandler.java:265)
    5 frames
  30. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames