Ask Your Question
1

Email notifications not working sdc in docker

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

kappapilla gravatar image
etc/hosts

127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.17.0.2      f88c0e86c535



nested exception is:
    java.net.ConnectException: Connection refused (Connection refused)'
com.streamsets.datacollector.email.EmailException: 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
0

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

Stats

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

Seen: 49 times

Last updated: Mar 04