Error: You don't have permission to access that port.

在苹果机上跑django,运行报错。无法在80端口运行。

localhost:mysite tsuneseikou$ python manage.py runserver 0.0.0.0:80

Validating models...

0 errors found
Django version 1.4, using settings 'mysite.settings'
Development server is running at http://0.0.0.0:80/
Quit the server with CONTROL-C.

Error: You don't have permission to access that port.

解决办法:命令前面加sudo即可……

sudo python manage.py runserver 0.0.0.0:80



你可能感兴趣的:(django,python,server,Access)