java.net.ConnectException: Connection refused

Server Fault | kuteninja | 11 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Cassandra fails to rebuild on a new Datacenter with vnodes

    Server Fault | 11 months ago | kuteninja
    java.net.ConnectException: Connection refused
  2. 0
    samebug tip
    First of all, check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to "advertised.host.name = yourIpAddress", this forces the hosts returned to be the resolvable IP address of your VM.
    via GitHub by xianping
  3. 0

    GlassFish server error

    Stack Overflow | 2 years ago | user3396201
    org.omg.CORBA.COMM_FAILURE: FINE: 00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while starting hadoop daemons (ConnectionRefused and ExitCodeException)

    Stack Overflow | 1 year ago | Sarika Ovahal
    java.net.ConnectException: Call From psdrac2/192.168.106.109 to psdrac2:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  6. 0

    Network breakdown cause a file descriptor leak

    GitHub | 2 years ago | shark300
    org.jdiameter.client.api.io.TransportException: Cannot init transport:

    5 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

      at sun.nio.ch.Net.connect0()
    2. Java RT
      SocketChannelImpl.connect
      1. sun.nio.ch.Net.connect0(Native Method)[na:1.8.0_91]
      2. sun.nio.ch.Net.connect(Net.java:454)[na:1.8.0_91]
      3. sun.nio.ch.Net.connect(Net.java:446)[na:1.8.0_91]
      4. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)[na:1.8.0_91]
      4 frames
    3. org.apache.cassandra
      StreamCoordinator$StreamSessionConnector.run
      1. org.apache.cassandra.net.OutboundTcpConnectionPool.newSocket(OutboundTcpConnectionPool.java:137)[cassandra-all-2.1.13.1218.jar:2.1.13.1218]
      2. org.apache.cassandra.streaming.DefaultConnectionFactory.createConnection(DefaultConnectionFactory.java:52)[cassandra-all-2.1.13.1218.jar:2.1.13.1218]
      3. org.apache.cassandra.streaming.StreamSession.createConnection(StreamSession.java:236)[cassandra-all-2.1.13.1218.jar:2.1.13.1218]
      4. org.apache.cassandra.streaming.ConnectionHandler.initiate(ConnectionHandler.java:79)[cassandra-all-2.1.13.1218.jar:2.1.13.1218]
      5. org.apache.cassandra.streaming.StreamSession.start(StreamSession.java:223)[cassandra-all-2.1.13.1218.jar:2.1.13.1218]
      6. org.apache.cassandra.streaming.StreamCoordinator$StreamSessionConnector.run(StreamCoordinator.java:208)[cassandra-all-2.1.13.1218.jar:2.1.13.1218]
      6 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      3 frames