I ran this code in flask:
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return "Hello World!"
if __name__ == '__main__':
app.run(debug=True)
And it says this
C:\shruti_python> python.exe .\hello.py
* Restarting with stat
* Debugger is active!
* Debugger PIN: 298-971-142
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
But when I try to access the http url, it give HTTP 404 error. the ip turns to this http://16.169.147.62/ and gives HTTP Error 404. The requested resource is not found.