This was great.
Matt Martone
2

thanks Matt, that error implies you’re already using the address/port. By default Flask uses: 127.0.0.1:5000

You can have Flask listen elsewhere with:

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