我在windows中安装了Vagrant,现在我有了一个虚拟的ubuntu,我运行了一个python脚本:vagrant@precise32:/vagrant/FlaskMysql/FlaskApp$ ls
app.py static storedPro.txt templates
vagrant@precise32:/vagrant/FlaskMysql/FlaskApp$ python app.py
* Running on http://127.0.0.1:5002/ (Press CTRL+C to quit)
我的流浪者档案:
^{pr2}$
我试图从我窗口的浏览器访问上面的地址索引.html页面几秒钟后出现,然后消失。在
更新:vagrant@precise32:/vagrant/FlaskMysql/FlaskApp$ curl http://127.0.0.1:5000
500 Internal Server ErrorInternal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or
there is an error in the application.
谢谢。在