Connection Refused

Mailer works fine when I'm running my app locally. But when I deploy it I keep getting this error in the log.

Errno::ECONNREFUSED (Connection refused - connect(2)):

Anyone have any idea what this could be?

Thank in advance, Seth

Did you specify your production database configuration in config/ database.yml?

Are you using sendmail or smtp?