尝试使用命令启动服务器时遇到问题
python manage.py runserver 0.0.0.0:8000
它显示
C:\abc>python manage.py runserver 0.0.0.0:8000 Validating models... 0 errors found Django version 1.4.9, using settings 'abc.settings' Development server is running at http://0.0.0.0:8000/ Quit the server with CTRL-BREAK.
但无法通过浏览器访问 http://127.0.0.1:8000
它显示:
Unable to connect Firefox can't establish a connection to the server at 127.0.0.1:8000. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
但是当我尝试通过
python manage.py runserver
它工作正常。我可以访问该应用程序http://127.0.0.1:8000
可能是什么问题。