write and execute this on console:
flask run --hots=0.0.0.0
then you can access to your app on browser normally but
to access in your cellphone
you must type the url that appears in console after execute the previous command
* Serving Flask app 'run.py' (lazy loading)
* Environment: development
* Debug mode: on
* Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://192.168.0.125:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 144-786-933
No hay comentarios:
Publicar un comentario