1
我正在通過部署Python應用程序的Heroku教程,並試圖在Windows 7 64位計算機上嘗試run my app locally。使用領班啓動應用程序似乎工作,並沒有明顯的錯誤,但沒有做任何事情。Heroku領班似乎開始但沒有任何反應
Procfile.Windows:
web: python manage.py runserver 0.0.0.0:5000
工頭輸出:
(HerokuGettingStarted) PS C:\localApp\> foreman start web -f .\Procfile .windows
08:16:04 web.1 | started with pid 6080
08:16:15 web.1 | Performing system checks...
08:16:15 web.1 |
08:16:15 web.1 | System check identified no issues (0 silenced).
如果我做了netstat的,沒有什麼監聽本地主機端口5000。但是,如果我手工啓動服務器上,它的工作原理和我可以用瀏覽器或telnet連接到應用程序。
(HerokuGettingStarted) PS C:\localApp\> python manage.py runserver 0.0
.0.0:5000
Performing system checks...
System check identified no issues (0 silenced).
June 25, 2015 - 08:39:07
Django version 1.8.1, using settings 'gettingstarted.settings'
Starting development server at http://0.0.0.0:5000/
Quit the server with CTRL-BREAK.