# How to run the flask application on Port 8001, which is already occupied

The standard port for the Flask application is 5000.So we can access our application.

http://127.0.0.1:5000/

We may want to change the port is already occupied.We can use the below command to run the Flask application .

if __name__ == ‘__main__’:
app.run(debug=True, port=port_number)
# helloworld.py