Ping health check failing

84 Views Asked by At

I am trying to execute a simple flask app like below:

from flask import Flask           # import flask
app = Flask(__name__)             # create an app instance

@app.route("/")                   # at the end point /
def hello():                      # call method hello
  return "Hello World!"         # which returns "hello world"
if __name__ == '__main__':
  app.run(port=8080, host='0.0.0.0')

And when I execute it I get:

This site can’t be reached
172.16.75.193 took too long to respond.
ERR_CONNECTION_TIMED_OUT

I have tried different ways to handle this like disabling proxy settings, flushing out DNS through the Command prompt, resetting my network settings, etc. But nothing is helping me. Is there any dependency file I am missing or something like that?

0

There are 0 best solutions below