How can I connect my static page to my ipfs node?

The very naive way I’m going about it is:

const node = new Ipfs({ host: "xxx.ip.address.xxx"});

When I save an image from the static page, it does give me an ipfs hash back and save it to the local browser cache, but when I run on my ipfs node:

ipfs dht findpeer QmVLRBHgCvFhPbxenyPpM1UnoLMY9kPhB6vyU2JmenaLYv

My node can’t find the file.

PS: I’m running the IPFS node on Digital Ocean.

I think you’re running into the fact that DHT is still a WIP for js-ipfs. Circuit relays also aren’t implemented yet as called out in the project status.

Thanks for the headsup @leerspace.