【发布时间】:2016-08-23 12:14:20
【问题描述】:
pythonanywhere 是托管 python web 应用程序的最佳场所之一。并且应用程序将根据wsgi.py 配置托管在它自己的服务器上。但是当我在它的 bash shell 上做这样的事情时会发生什么?
$ python manage.py runserver 127.0.0.1:9000
Performing system checks...
System check identified no issues (0 silenced).
April 28, 2016 - 15:29:48
Django version 1.9.5, using settings 'MyProject.settings'
Starting development server at http://127.0.0.1:9000/
Quit the server with CONTROL-C.
如您所见,我已将端口更改为 :9000,所以有什么方法可以访问它,或者它只是没有意义,因为它在服务服务器服务上提供应用程序?
【问题讨论】:
标签: server localhost hosting pythonanywhere