TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinuxPython

How to specify host in Flask

Flask is a micro web framework written in Python.

Bydefault Flask will listen on localhost only.

But we can specify the host address during application startup.

flask run --host='0.0.0.0'

This will accept any host.

That's all…

Leave a Reply