http://127.0.0.1:8000/不适用于Chrome,但在Internet Explorer上运行正常

时间:2016-12-06 08:47:39

标签: django python-3.x windows-server-2012-r2

我最近在Windows Server 2012 R2上安装了django。

当我运行python manage.py runserver时,它告诉mes使用http://127.0.0.1:8000/。它在Internet Explorer上工作但在Firefox和Chrome中我收到以下错误。

The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: http://127.0.0.1:8000/

Connection to 127.0.0.1 failed.

The system returned: (111) Connection refused

The remote host or network may be down. Please try the request again.

Your cache administrator is administrator.

1 个答案:

答案 0 :(得分:0)

未启用旁路代理。它在启用后起作用。