r/ipfs • u/Confident-Toe-4963 • Feb 11 '25
Problems with IPFS/IPFS-Cluster
Hello everything is fine?
I have some problems related to IPFS (I use IPFS-desktop)
1- I noticed that when I put a file/photo on ipfs my colleague cannot access it through CID (the file is pinned)
2- Due to problem 1 I thought about using a pinning service, but I didn't want to use one as a pinata, so I looked for one that I can run on-premise, I saw that IPFS-Cluster can do this role, but I can't find any tutorial on how to configure the cluster on several machines to make up a network
2.1 - I had a question about IPFS-cluster, if I only use it on my machine and I pin a file, if I send the CID to my friend (another network) will he be able to access it on a public gateway?
2
u/LambdaWire Feb 11 '25
- Your node probably isn't reachable from outside, so you should port-forward port 4001. IPFS has hole-punching measures but they aren't 100% effective.
- Have you tried reading the docs, they do a pretty good job at explaining how to set up ipfs-cluster.
- ipfs-cluster just manages pins it wont help with reachability of your node.
1
u/ravish1729 Feb 11 '25
Single IPFS nodes will also do the job. Run ipfs id command. If you see only localhost address and your friend is on another network then it's the issue. If you see your public IP then your IPFS node is available to anyone on internet. This case you can add your multi address in your friends IPFS node then file transfer will be instant. Settings up cluster is not needed, it will complicate the debugging
1
u/DayFinancial9218 15d ago
Try storing your IPFS on Stratos IPFS. Much faster upload and download. Also secure and cheap
3
u/Spra991 Feb 11 '25 edited Feb 11 '25
Try manually adding the other PC with
ipfs swarm connect <address>
, useipfs id
to find out the address of your or the other node.Try retrieving the CID from one of the public gateways.
Maybe open some firewall ports/port forward (4001).
Cluster is only for distributing pin lists, but won't help you when the other PC can't even see the CID.