java.net.ConnectException: Connection refused

com.tr | 8 months ago
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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. bpbhat77 3 times, last 11 months ago
2 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 com.sun.mail.smtp.SMTPTransport.openServer()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1227)
    2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:322)
    2 frames
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:236)
    1 frame
  4. Spring Context Support
    JavaMailSenderImpl.send
    1. org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389)
    2. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:306)
    3. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:296)
    3 frames
  5. com.aa.meals
    MealsMailSenderBean.sendMail
    1. com.aa.meals.mail.MealsMailSenderBean.sendMail(MealsMailSenderBean.java:21)
    1 frame
  6. com.aa.common
    TestMail.main
    1. com.aa.common.log.TestMail.main(TestMail.java:14)
    1 frame