Ask Your Question

Email notifications not working sdc in docker

asked 2020-03-03 20:28:45 -0500

kappapilla gravatar image
etc/hosts       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters      f88c0e86c535

nested exception is: Connection refused (Connection refused)' javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-04 19:15:00 -0500

metadaddy gravatar image

The problem is that, from SDC's point of view, inside the container, the SMTP server is not on localhost, since localhost is the Docker container. You'll have to configure SDC with the actual IP address of the host.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-03-03 20:28:45 -0500

Seen: 49 times

Last updated: Mar 04