From @baimurzin on Sun Mar 26 2017 16:20:51 GMT+0000 (UTC)
Hello! I had uploaded a file using js-ipfs and the I have a trouble with getting this file?
I used something like that
node.files.add(fileToAdd, cb...)
Then got following output:
PFS Version: 0.23.0
Swarm listening on /ip4/127.0.0.1/tcp/4003/ws/ipfs/Qmd7K8fTVyQDnzJKPNNEiRALmt2zgcKSvWaGvZG1Xf3E2R
Swarm listening on /ip4/127.0.0.1/tcp/4002/ipfs/Qmd7K8fTVyQDnzJKPNNEiRALmt2zgcKSvWaGvZG1Xf3E2R
Swarm listening on /ip4/192.168.1.129/tcp/4002/ipfs/Qmd7K8fTVyQDnzJKPNNEiRALmt2zgcKSvWaGvZG1Xf3E2R
Swarm listening on /ip4/10.8.0.94/tcp/4002/ipfs/Qmd7K8fTVyQDnzJKPNNEiRALmt2zgcKSvWaGvZG1Xf3E2R
Node is now ready and online
Added file:
{ path: 'hello.txt',
hash: 'QmXPGDVpD5AsPx6F5aZrv5EQK2zt5CnMg1GzDLN9Z9mvvk',
size: 12 }
And now question is how I can get this file? I tried to make get request to ipfs.io/ipfs/{hash_here_QmXPGDV....}
And second question what are all of those links:
“Swarm listening on /ip4/…” ?
Copied from original issue: https://github.com/ipfs/faq/issues/243