python requests connect to docker flask code example Example: docker flask can't connect if __name__ == '__main__': app.run(host='0.0.0.0')