Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12231

Hurdle in launching a Flask application on AWS Lightsail

$
0
0

The original project code is on VS Code. Pushed the application to DockerHub.com and from there pushed to AWS Lightsail.

Here is the status on Amazon CLI:

Last login: Mon Jun 17 10:13:58 2024 from ubuntu@ip-172-26-15-239:~$ docker logs fcf0db26a49a * Serving Flask app 'app' * Debug mode: onWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on Press CTRL+C to quit * Restarting with stat * Debugger is active! * Debugger PIN: 107-751-001 * Serving Flask app 'app' * Debug mode: onWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on Press CTRL+C to quit * Restarting with stat * Debugger is active! * Debugger PIN: 107-751-001 * Serving Flask app 'app' * Debug mode: onWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on Press CTRL+C to quit * Restarting with stat * Debugger is active! * Debugger PIN: 107-751-001ubuntu@ip-172-26-15-239:~$ 54.239.98.244http://127.0.0.1:5000http://127.0.0.1:5000http://127.0.0.1:5000

Unable to figure out why nothing loading on http://127.0.0.1:5000. Since the static IP address for this instance is 44.206.118.123, also tried with http://44.206.118.123. But blank page.

Help appreciated. If access to app.py file or any other files such as requirements.txt/DockerHub needed in order to troubleshoot, I will provide. Not providing just now for the sake of brevity.

The above project is just for display and not mission critical. As of now, my goal is to make the project live (can be viewed by anyone using the url or IP address).

Thanks in advance!


Viewing all articles
Browse latest Browse all 12231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>