首页 > 技术文章 > 使外部主机可访问Django服务

distanceN 2017-02-19 00:26 原文

欲让外部主机可访问Django的服务器,需使用如下命令开启服务

python manage.py runserver 0.0.0.0:8000

推荐阅读