Errno 99 Can not assign requested address Request Method: POST Request URL

0

I get the following error when doing a user registration in django-rest-framework using the path / rest-auth / registration /

[Errno 99] Can not assign requested address Request Method: POST Request URL: link Django Version: 1.11.2 Python Executable: / usr / local / bin / python

The API service is running on port 80 of a Docker container hosted on a Linux server in Microsoft Azure

    
asked by Erick Echeverry Garcia 09.11.2018 в 15:48
source

1 answer

0

Add the following to the Django configuration file (settings.py) so that verification by mail is optional:

ACCOUNT_EMAIL_VERIFICATION = 'none'

or add a Backend for SMTP server management:

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
    
answered by 12.11.2018 / 05:19
source