Flask – change default port from 5000

if __name__ == '__main__':
    app.run(port=5001)