In day-14/simple-python-app/app.py host is missing | CICD or code deploy or docker container will not able receive request
gokulyc opened this issue · 1 comments
gokulyc commented
In day-14/simple-python-app/app.py
For example:
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello, world!"
if __name__ == "__main__":
app.run(port=5000, host="0.0.0.0")
Now I am able to curl app in ec2 in shell. But unable to access app outside EC2(Public)
any one faced this and fixed the issues.
gokulyc commented
Issue was with my VPN.