-1
我最近在Windows Server 2012 R2上安裝了django。http://127.0.0.1:8000/不適用於Chrome,但在Internet Explorer上正常工作
當我運行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.
這是家庭還是辦公室機器? – ptr
看來你需要繞過本地主機的代理服務器。它可能已經在IE中啓用,這就是爲什麼它在那裏工作。 – AKS
跳過代理未啓用。它啓用後工作。 @AKS非常感謝:) – Leon