Connect from a flask docker container google cloud to ipfs locally

I have this on my flask code

import ipfshttpclient
clientIPFS=ipfshttpclient.connect(‘/ip4/’) .

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

ipfshttpclient.exceptions.ConnectionError: ConnectionError: HTTPConnectionPool(host=‘’, 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’))