python django 网站局域网问
1.service iptables stop
2.
setting.py --> ALLOWED_HOSTS = ['*',]
3.
python manage.py runserver 0.0.0.0:8000
每天进步一点点,多思考,多总结
版权声明:本文为CNblog博主「zaituzhong」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
1.service iptables stop
2.
setting.py --> ALLOWED_HOSTS = ['*',]
3.
python manage.py runserver 0.0.0.0:8000