1
bingwenshi 2015-12-02 23:31:16 +08:00
> Error: You don't have permission to access that port.
runserver 默認的端口是 80 ,非 root 用戶是沒權限使用 1024 以下的端口的,所以提示權限不足 |
2
kang000feng OP @bingwenshi python manage.py runserver 8080 还是一样
Performing system checks... System check identified no issues (0 silenced). October 04, 2015 - 20:56:45 Django version 1.8.2, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. Error: You don't have permission to access that port. |
3
kang000feng OP @bingwenshi python manage.py runserver 0.0.0.0:8000 也是同样报错
|
4
sleeperqp 2015-12-03 00:16:31 +08:00
我觉得更关键的地方在你部署在 paas
不清楚具体是怎么样的机制 你可以从平台入手看看是不是平台的限制 |
5
repus911 2015-12-03 09:56:07 +08:00
没权限 sudo 呀
|