Connect from a flask docker container google cloud to ipfs locally

I have this on my flask code

import ipfshttpclient
clientIPFS=ipfshttpclient.connect(β€˜/ip4/0.0.0.0/tcp/5001’) .

When i create the container running in google cloud i get this error:

"
ipfshttpclient.exceptions.ConnectionError: ConnectionError: HTTPConnectionPool(host=β€˜0.0.0.0’, port=5001): Max retries exceeded with url: /api/v0/version?stream-channels=true (Caused by NewConnectionError(β€˜<ipfshttpclient.requests_wrapper.HTTPConnection object at 0x7e6faee609a0>: Failed to establish a new connection: [Errno 111] Connection refused’))
"