1、 app.run(debug=True,host='10.0.2.15',port=8000)自定义host及port; 转载于:https://www.cnblogs.com/woodyle/p/4859655.html