在启动命令中加上host=0.0.0.0,这样才会监听外网的访问请求 或者在python代码里面加上host=0.0.0.0 python -m flask run --host=0.0.0.0 --port=5000