small medium large xlarge

25 Jul 2011, 16:20
dot baiki (6 posts)


After doing all steps to setup MySQL, Apache locally (Iteration K1) sending mail won’t work anymore.

Errno::ECONNREFUSED in OrdersController#create

Connection refused - connect(2)

What and where can I check logfiles in order to find the problem? (BTW: If I use dev environment with Webrick, mails are sent)

Thanks for any help.

PS1: Both Passenger and development use environment.rb?! (Well, doesn’t look like this. Maybe someone can clarify on this one. Would be grateful)

Problem solved: I just copied the part about “config.action_mailer.smtp_settings” from “environment.rb” to “production.rb”

You must be logged in to comment