I'm using this Python code to see if I can view the simple AWS server however, I'm still not able to load the webpage properly.
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return "It works!"
if __name__ == '__main__':
app.run(port=80, host='0.0.0.0')
In AWS, inbound:
HTTP TCP port 80 with a source of: 0.0.0.0/0
SSH TCP port 22 with a source of: 0.0.0.0/0
Outbound - everything is allowed.
I'm seeing no errors on terminal when I start the program. The console says Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) so I'm trying to load http://[email protected]:5000