1from flask import Flask
2
3app = Flask(__name__)
4
5if __name__ == '__main__':
6 app.run(port=80)
7
8# Also make sure that nothing else is running on port 80
1sudo apt install authbind
2sudo touch /etc/authbind/byport/80
3sudo chmod 777 /etc/authbind/byport/80
4authbind --deep python3 app.py