#默认是8000端口 python manage.py runserver #指定IP和端口 python manage.py runserver 127.0.0.1:8000 #指定端口 python manage.py runserver 8000