1if__name__=='__main__':
2 app.debug=True
3 app.run('0.0.0.0', port=5001) #port can be anything higher than 5000.
4
5 #this solution is for an OSError and PermissionError
6 #Make sure to run it on a virual environment for Flask, Python.
1This can happen either becuase the file is in use by another proccess or
2your user doesn't have access