Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"[Errno 61] Connection refused" when trying to reset password or verify email #427

Closed
dollydagr opened this issue Oct 21, 2013 · 5 comments

Comments

@dollydagr
Copy link

Hi,

I am testing allauth through the "example.demo" app. Creating an account and signing in go well. However, when I attempt to:

  • reset a password
  • verify an email address
  • add an email address

I run into this error:

Exception Type: error
Exception Value: [Errno 61] Connection refused
Exception Location: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py in create_connection, line 571

Is there something that I missed? Maybe an edit to settings.py?

Even on http://jug.gl/accounts/password/reset/, I couldn't test the "Reset my Password" functionality (nowhere to input the email address).

Thanks for your help!
dollydagr

@pennersr
Copy link
Owner

You probably do not have a local SMTP server setup. See:

https://docs.djangoproject.com/en/dev/ref/settings/#email-host

I'll leave the ticket open as a reminder to fix jug.gl

@dollydagr
Copy link
Author

Of course! Thanks @pennersr!

@nkoronka
Copy link

nkoronka commented Jun 1, 2019

Issue is still helping nearly six years later :)

@rahulkp220
Copy link

@nkoronka Just put in your settings.py file
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

@avalbad
Copy link

avalbad commented Aug 3, 2023

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' add too
settings.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants