java.net.ConnectException: Connection refused: connect

Server Fault | Tommy | 5 years ago
  1. 0

    Strange Jmeter connection refuse on Tomcat

    Server Fault | 5 years ago | Tommy
    java.net.ConnectException: Connection refused: connect
  2. 0

    Error while passing some 80 requests through API for load testing in JMeter.

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection timed out: connect
  3. 0

    JMeter 101: Using HTTP Proxy to Record your Test | .. Library of WONDERS ..

    wordpress.com | 4 months ago
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [1.2.3] How to modify configurations for embedded netty (3.2.4) server?

    Google Groups | 5 years ago | The Thinker
    java.net.ConnectException: Connection timed out: connect
  6. 0

    Stress-testing Apache Tomcat

    Server Fault | 5 years ago | adrian
    java.net.ConnectException: Connection timed out: connect

  1. tvrmsmith 1 times, last 1 month ago
  2. musketyr 2 times, last 2 months ago
  3. Malcshour 1 times, last 6 months ago
25 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.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. sun.net.NetworkClient.doConnect(Unknown Source)
    9. sun.net.www.http.HttpClient.openServer(Unknown Source)
    10. sun.net.www.http.HttpClient.openServer(Unknown Source)
    11. sun.net.www.http.HttpClient.<init>(Unknown Source)
    12. sun.net.www.http.HttpClient.New(Unknown Source)
    13. sun.net.www.http.HttpClient.New(Unknown Source)
    14. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    16. sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    16 frames
  3. Apache JMeter HTTP
    HTTPSamplerBase.sample
    1. org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:483)
    2. org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
    3. org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1018)
    4. org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1004)
    4 frames
  4. Apache JMeter Core
    JMeterThread.run
    1. org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:411)
    2. org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:297)
    2 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame