java.net.ConnectException: Connection refused

Stack Overflow | rt.jar | 5 months ago
  1. 0

    javax.mail.MessagingException: Connect failed;

    Stack Overflow | 5 months ago | rt.jar
    java.net.ConnectException: Connection refused
  2. 0

    Refused connection to servlet with authentication

    Stack Overflow | 2 years ago | Bob Samadi
    java.net.ConnectException: Connection refused
  3. 0

    Java HTTPS Connection refused

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

    Automated exception search integrated into your IDE

  5. 0

    List Azure database services REST API fails with java.net.ConnectException: Connection refused

    microsoft.com | 5 months ago
    java.net.ConnectException: Connection refused

  1. bpbhat77 2 times, last 3 months ago
  2. tfr 2 times, last 4 months ago
  3. tvrmsmith 1 times, last 4 months ago
  4. pnaranja 2 times, last 5 months ago
  5. richard77 2 times, last 6 days ago
45 more registered users
48 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:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
    2 frames
  4. JavaMail API (compat)
    POP3Store.protocolConnect
    1. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284)
    2. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
    3. com.sun.mail.pop3.Protocol.<init>(Protocol.java:98)
    4. com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:227)
    5. com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:172)
    5 frames
  5. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:291)
    2. javax.mail.Service.connect(Service.java:172)
    2 frames
  6. org.tester.task
    TestMail.main
    1. org.tester.task.TestMail.main(TestMail.java:25)
    1 frame