@hector I resolved this issue and i am able to connect it to my local ipfs repoitory.
See, now i have to connect my nodejs application to the IPFS Private Network. I am not able to understand how to do it.
I have 4 ipfs peers, each will have different id.
The API address is same for all the 4 peers i.e. “’/ip4/0.0.0.0/tcp/5001’”
The Gateway is also same for for all these 4 peers i.e. “’/ip4/0.0.0.0/tcp/4001”
And when i am trying to connect it, i am getting connection refused error.
I think i am missing something and i am not doing it properly.
Below is my connection logic:
const ipfsClient = require(‘ipfs-http-client’);
const ipfs = ipfsClient(’/ip4/0.0.0.0/tcp/5001’);
Using this i am able to connect it locally but i am deploying the complete project inside kubernetes cluster, there it is showing connection refused error.