-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
"Error: [Errno 11001] getaddrinfo failed" on Windows #1669
Comments
I don't know a lot about Windows, but have you tried to listen on |
The only place, where I found Original commit message doesn't clearly say why we cannot use Did you try |
Thank you for your reply. i try your solution that is both of you, but it can't work. i will attach the codes.
|
It suggests your hostname has unicode in it and Python can't deal with that. https://bugs.python.org/issue26227 is still open. https://stackoverflow.com/questions/25948687/gethostbyaddr-raises-unicodedecodeerror-in-python-3 only has the workaround to rename the system. |
maybe your computer-name is not english. In my case, my computer name was 용준. and got same situation but after I change my computer name to enlish, It work! Try it. |
The IP address is still wrong: 127.0.0.0 |
you can try |
what is gaierror att error in django |
https://stackoverflow.com/questions/15246088/what-does-this-socket-gaierror-mean has a nice explanation. By now it looks like the original bug has been resolved in Python 3.8 and up, but I can't verify that. If anyone is still running into this, please verify that your Python version is new enough. |
Issue Discription
(myvenv) C:\Users\rkfql\djangogirls>python manage.py runserver 0:8000
Performing system checks...
System check identified no issues (0 silenced).
July 14, 2020 - 23:15:38
Django version 2.0.13, using settings 'mysite.settings'
Starting development server at http://0:8000/
Quit the server with CTRL-BREAK.
Error: [Errno 11001] getaddrinfo failed
Operating system : WIndows 10
how to solve this error?
The text was updated successfully, but these errors were encountered: