Wednesday, August 28, 2019

Re: Please help me to resolve this issue .............................[WinError 10061] No connection could be made because the target machine actively refused it

Hi Wagas,

This can only be a guess, since you haven't provided much relevant
information, but this exception:

> *Exception Type: ConnectionRefusedError at /accounts/register/*
> *Exception Value: [WinError 10061] No connection could be made because
> the target machine actively refused it*

is being thrown somewhere around here:

> *
> *File "C:\Users\Waqas
> Ahmad\AppData\Local\Programs\Python\Python37\lib\smtplib.py" in __init__*
> *  251.             (code, msg) = self.connect(host, port)*
> *

I assume you are trying to send an email and haven't configured your
SMTP server correctly?

Fix that in your settings.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/40cac4ab-21ce-c6e3-359e-588f34ed08e3%40stacktrace.dk.

No comments:

Post a Comment