Hello team, I created an always on task which runs a flask server. I would like to access this publically in a web app as an API. Looking at the logs, it seems that it is running locally on the server. How can I expose this for external use?
alwayson-log:
Oct 14 19:11:13 * Serving Flask app "flask_app" (lazy loading)
Oct 14 19:11:13 * Environment: production
Oct 14 19:11:13 WARNING: This is a development server. Do not use it in a production deployment.
Oct 14 19:11:13 Use a production WSGI server instead.
Oct 14 19:11:13 * Debug mode: off
Oct 14 19:11:13 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)