java.net.ConnectException: Connection refused: connect

Stack Overflow | Goutham nagraj | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Port forwarding for my server client application is not working

    Stack Overflow | 5 months ago | Goutham nagraj
    java.net.ConnectException: Connection refused: connect
  2. 0

    i can't deploy my java app using tomcat and postgresql zk Linux

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection refused: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Problems running SelendroidIntegrationTest.java

    Google Groups | 2 years ago | Joe Kleckler
    io.selendroid.standalone.exceptions.AndroidDeviceException: Cannot establish a connection to device.
  5. 0

    Multiple socket client with single machine on Network

    Stack Overflow | 11 months ago | Harshil
    java.net.ConnectException: Connection refused: connect

  1. andyglick 56 times, last 3 weeks ago
  2. tomthomas 1 times, last 1 month ago
  3. stigkj 4 times, last 1 month ago
  4. michallos 1 times, last 2 months ago
  5. mauritius 3 times, last 2 months ago
26 more registered users
65 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 java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.<init>
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    9. java.net.Socket.connect(Socket.java:538)
    10. java.net.Socket.<init>(Socket.java:434)
    11. java.net.Socket.<init>(Socket.java:211)
    11 frames
  3. non
    Client.main
    1. non.Client.main(Client.java:8)
    1 frame
  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. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame