我刚从Mac切换到Windows,并尝试访问我下载到笔记本电脑的存储库。
我使用Windows PowerSell安装所有相关程序包,然后:
> python .\manage.py runserver
我让localhost运行在0.0.0.0:5000上:
* Serving Flask app "application" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment. Use a production WSGI server instead.
* Debug mode: on
* Restarting with stat
* Debugger is active!
* Debugger PIN: 240-530-035
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
但是,当我转到本地主机时,该应用程序显示。但是当我使用http://0.0.0.0:5000/时,我得到:
This site can’t be reached The webpage at http://0.0.0.0:5000/login might be temporarily down or it may have moved permanently to a new web address.
ERR_ADDRESS_INVALID
为什么我会收到此消息?