I'm trying to publish a Flask app in a Windows EC2 instance. When I run:
flask run --port 80 --host=0.0.0.0
It shows:
Running on http://<private_IP>/ (Press CTRL+C to quit)
If I try to access http://<private_IP>/ or http://<public_IP>/ from my local machine it doesn´t works.
I know that I'm ok with port permissions because if I run IIS and access http://<public_IP> it works, so I suppose that Flask decides to answer only <private_ip> requisitions.
Am I sure? How can I fix that?
Note: I tried the same in a Ubuntu EC2 instance and the problem remains exactly the same.