java.net.ConnectException: Connection refused

GitHub | woz5999 | 7 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

    GitHub comment 2#254573249

    GitHub | 7 months ago | woz5999
    java.net.ConnectException: Connection refused
  2. 0

    GitHub comment 3#257031457

    GitHub | 7 months ago | shrabok-surge
    java.net.ConnectException: Connection refused
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

    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)
      2. sun.nio.ch.Net.connect(Net.java:454)
      3. sun.nio.ch.Net.connect(Net.java:446)
      4. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
      4 frames
    3. com.santaba.agent
      WatchdogMain.main
      1. com.santaba.agent.agentmonitor.PeerSocketChannel.<init>(PeerSocketChannel.java:44)
      2. com.santaba.agent.agentmonitor.AgentStatus._checkPeerStatus(AgentStatus.java:140)
      3. com.santaba.agent.agentmonitor.AgentStatus.checkAgent2(AgentStatus.java:99)
      4. com.santaba.agent.agentmonitor.AgentStatus.checkAgentRunning(AgentStatus.java:504)
      5. com.santaba.agent.watchdog.WatchdogMain.main(WatchdogMain.java:377)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. YAJSW
      WrapperJVMMain.main
      1. org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:126)
      2. org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:66)
      2 frames