#runserver

python manage.py runserver 0.0.0.0:8000

pythonmanage.pyrunserver0.0.0.0:8000这种命令行,可以在服务器端输入IP:8000直接访问在 pythonmanage.pyrunserver127.0.01:8000在服务器端输入IP:8000不可以访问 ...