IPFS cluster based multi host private network

Hi Team,

We have deployed a multi host private network using docker based IPFS cluster implementation. Both nodes are working fine individually but they are not able to connect to each other. We are getting this error while bootstrapping IPFS cluster node from second machine’s cluster node:

ERROR   cluster ipfs-cluster/cluster.go:1049    failed to find peers: failed to find any peer in table
ERROR   service ipfs-cluster-service/daemon.go:264      bootstrap to /ip4/[node-public-IP]/tcp/9400/p2p/[CLUSTER-PEER-ID] failed: failed to find peers: failed to find any peer in table

We have defined 9400 as the external port for our IPFS cluster node replacing 9096.

And, after listing peers from our cluster node using

ipfs-cluster-ctl peers ls

we are getting 0 other peers.

In a private network you will have to manually add the nodes with ipfs swarm connect idofthenode
U may want to use a public ipfs node bootstrapped only to masternode and then add basic auth for the nodes/clusters.