pycharm运行flask时指定端口

if __name__ == '__main__':
    app.run(debug=True, port=5050)

进行配置

原文地址:https://www.cnblogs.com/ice5/p/14332345.html