Ipfs swarm connect: connect failure: dial attempt failed: context deadline exceeded

Please don’t open up the connection for the API to the public as with that endpoint exposed, anyone can control your node. It’s not needed to have ports open for the gateway or API for the node to be able to connect to other nodes, only the swarm port is needed for that.

Try to open up the port and also upgrade your go-ipfs version, as there have been many new releases with lots of improvements since the version you’re using.

1 Like