java.net.ConnectException: Connection refused

Stack Overflow | Ubaier Bhat | 3 months ago
  1. 0

    TCP connection refused on Nexus 5X

    Stack Overflow | 3 months ago | Ubaier Bhat
    java.net.ConnectException: Connection refused
  2. 0

    dW:Open Source:IBM WebSphere Application Server Community Edition and Apache Geronimo:Database Pool Connection Error - IBM WebSphere Application Server Community Edition and Apache Geronimo Forum

    ibm.com | 1 year ago
    java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Connection refused. ERRORCODE=-4499, SQLSTATE=08001
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    jhipster RDS connection issue

    Stack Overflow | 1 year ago | Jodevan
    com.zaxxer.hikari.pool.PoolInitializationException: Exception during pool initialization
  5. 0

    Getting JmqiException RC=2538;AMQ9204 only from Linux MQSeries client

    Stack Overflow | 3 years ago | user1069528
    com.ibm.mq.jmqi.JmqiException: CC=2;RC=2538;AMQ9204: Connection to host 'localhost(1414)' rejected. [1=com.ibm.mq.jmqi.JmqiException[CC=2;RC=2538;AMQ9213**: A communications error for occurred. [1=java.net.ConnectException[Connection refused],3=localhost]],3=localhost(1414),5=RemoteTCPConnection.connnectUsingLocalAddress]

  1. richard77 2 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. kjhdofjosvs 20 times, last 2 weeks ago
  4. Andreas Häber 9 times, last 2 weeks ago
  5. Aria Pahlavan 2 times, last 3 weeks ago
45 more registered users
50 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 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