java.net.ConnectException: Connection refused

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

    Cpanel Java Email Client Program

    Stack Overflow | 4 years ago | Veeresh Devireddy
    java.net.ConnectException: Connection refused
  2. 0

    Having trouble mocking an email server using JUnit

    Stack Overflow | 4 years ago | Dave
    java.net.ConnectException: Connection refused
  3. 0

    Apache Camel Mail Error

    Stack Overflow | 3 years ago | user3365084
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 110; timeout -1;

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

    Topic: net.mail problems «

    cycling74.com | 1 year ago
    java.net.ConnectException: Operation timed out

  1. mauritius 1 times, last 8 months ago
  2. osvzs 4 times, last 1 day ago
  3. poroszd 2 times, last 4 days ago
  4. raytest 3 times, last 2 weeks ago
  5. Dunmer 264 times, last 3 weeks ago
62 more registered users
33 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.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    7 frames
  3. JavaMail API (compat)
    SocketFetcher.getSocket
    1. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284)
    2. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
    2 frames