flask application brings error requests.exceptions.ConnectionError requests.exceptions.ConnectionError Max retries exceeded with url: /chain

Solution
from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
    return 'something'

app.run(host='127.0.0.1', port=5000)