I created an IPFS instance in the Google Compute Engine.
When I state the Daemon with
ipfs daemon
The Local IP address for the box (The Private address is listed) 10.128.0.4 but when I want to connected to the External IP (134.123.143.185 ) from outside Google I can't.
How do I add the External IP to the list of acceptable IP address to connect with.
try {
const client = createClient(new URL('http://134.123.143.185:5001'))
// call Core API methods
const { cid } = await client.add('Hello world!')
console.log(cid);
} catch (error) {
console.log(error);
}