python manage.py runserver 0.0.0.0:8000 - zkz的专栏 - 博客频道 - CSDN.NET
2012-12-10 11:30
976 查看
python manage.py runserver 0.0.0.0:8000 - zkz的专栏 - 博客频道 - CSDN.NET
Changing the port
By default, the runserver command starts the development server on the internal IP at port 8000.
If you want to change the server's port, pass it as a command-line argument. For instance, this command starts the server on port 8080:
python manage.py runserver 0.0.0.0:8000
2010-04-07 19:09 423人阅读 评论(1) 收藏 举报Changing the port
By default, the runserver command starts the development server on the internal IP at port 8000.
If you want to change the server's port, pass it as a command-line argument. For instance, this command starts the server on port 8080:
python manage.py runserver 8080If you want to change the server's IP, pass it along with the port. So to listen on all public IPs (useful if you want to show off your work on other computers), use:
python manage.py runserver 0.0.0.0:8000Full docs for the development server can be found in the runserver reference.
相关文章推荐
- 之前在pycharm中已经装好pillow,但在命令行运行python manage.py runserver 0.0.0.0:8000 出现not install pillow
- 执行python manage.py runserver 0.0.0.0:8000,出现以下问题
- python manage.py runserver 0.0.0.0:8000
- python manage.py runserver 0.0.0.0:8000
- Python语法解析器PLY——lex and yacc in Python - 娄振林专栏 - 博客频道 - CSDN.NET
- Python里的string 和 unicode (一)收藏 - 况天宝的专栏 - 博客频道 - CSDN.NET
- python中做层次聚类,使用scipy.cluster.hierarchy.fclusterdata方法 - Waleking的专栏 - 博客频道 - CSDN.NET
- python之强大的日志模块 - 竹叶青 的专栏 - 博客频道 - CSDN.NET
- python访问Hive配置 - jmydream的专栏 - 博客频道 - CSDN.NET
- 执行 python manage.py runserver 0.0.0.0:8080 时报错
- Python发送WEB请求,并对WEB内容进行解析 - lpxuan151009的专栏 - 博客频道 - CSDN.NET
- Python里的string 和 unicode (一) - 肥三的专栏 - 博客频道 - CSDN.NET
- 【android】LayoutInflater.inflate方法的详解及xml根元素的布局参数不起作用的问题 - u011494050的专栏 - 博客频道 - CSDN.NET
- 关于网络编程(服务端)的一些笔记 - roen的专栏 - 博客频道 - CSDN.NET
- java.lang.IllegalArgumentException: argument type mismatch解决方法 - shinn613的专栏 - 博客频道 - CSDN.NET
- nginx+lua+redis实现验证码防采集 - yanggd1987的专栏 - 博客频道 - CSDN.NET
- Glib学习笔记(4) - Innost的专栏 - 博客频道 - CSDN.NET
- Python模块学习 ---- logging 日志记录(一) - 成长的点滴,记录与分享 - 博客频道 - CSDN.NET
- valgrind--调试和剖析的程序工具集 - fisher_jiang的专栏 - 博客频道 - CSDN.NET
- 知道创宇爬虫题--代码持续更新中 - littlethunder的专栏 - 博客频道 - CSDN.NET