java.net.ConnectException: Connection refused

Stack Overflow | Ubaier Bhat | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rp . Or join the community to write better ones.
  1. 0

    TCP connection refused on Nexus 5X

    Stack Overflow | 5 months ago | Ubaier Bhat
    java.net.ConnectException: Connection refused
  2. 0
    samebug tip
    host port isnt set
    via GitHub by rawlingsj
  3. 0
    samebug tip
    Check if your MongoDB is available.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    start Appium server
  6. 0
    samebug tip
    You should access rundeck using that 'grails.serverURL' from the config file 'rundeck-config.properties'.
    via GitHub by gschueler
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 java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:334)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:196)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
    6. java.net.Socket.connect(Socket.java:586)
    6 frames
  3. com.testing.android
    TCPClient.connect
    1. com.testing.android.util.TCPClient.openSocket(TCPClient.java:208)
    2. com.testing.android.util.TCPClient.connect(TCPClient.java:53)
    2 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:304)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    3. java.lang.Thread.run(Thread.java:761)
    3 frames