I’m getting this error Errno::ECONNREFUSED: Connection refused — connect(2) for “0.0.0.0” port 1025

whenever I run UserMailer.send_invite(user).deliver_now! from the rails console of containerized rails app.

I followed your instruction on docker-compose.yml and development.rb

Full Stack Software Developer based in Singapore. Software Developer since 2012. Specialized in Ruby on Rails, Vue.js. AWS Development.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store