【修复】【Django】 [Errno 11004] getaddrinfo failed

解决

配置host文件C:\Windows\System32\drivers\etc路径下的host文件
具体配置内容找同事问吧,复制同事的就行

Windows打开CMD窗口输入:

ipconfig/flushdns

setting.py里加上允许的 IP

ALLOWED_HOST=["*"]

你可能感兴趣的:(django)