最近在 mac 上用 terminal 启动 python 的时候经常会提示我,端口被占用了,像这样
bash
0 errors found
February 25, 2016 - 18:25:21
Django version 1.6.7, using settings 'green.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
Error: That port is already in use.
ps aux | grep python
shell
(kkh)➜ green 继续阅读 »