====== Python Flask ======
[[python:flask-templates|Templates]] \\
[[python:flask-api|API]] \\
[[python:flask-mysql|MySQL connector]] \\
===== Running Flask on all interfaces =====
Adding ''--host'' binds to all interfaces, not just localhost.
$ flask run --host=0.0.0.0
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://10.1.2.3:5000
Press CTRL+C to quit
**Debug:-**
$ flask --debug run --host=0.0.0.0