jintor
August 22, 2021, 11:33pm
1
Hi,
I followed this Command-line | IPFS Docs
when I do ipfs --version ==>> ipfs version 0.9.1
I can open files ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme
I added a file ipfs add somefile.txt => added Hash…
but when In brave or from an other location I do ipfs:// that given hash, I cannot get it.
Why and how to fix this ?
note : I did the same with ipfs desktop mac => added a file, got a hash => impossible to consult via ipfs://
what step is missing ?
Did you run “ipfs daemon” to start the daemon?
jintor
August 27, 2021, 3:15am
4
I have “Daemon is ready”
when I do “ipfs swarm peers” => i get a list … /ip4/94.237.66.203/tcp/4001/p2p/12D3KooWSVXLjZ8qc…
**** now it works, because I did ports 4001 and 5001 are open in out TCP
when I do ipfs add x.jpg => I get “added QmUpacEqSy8HbrHd1cZjFwWVVYFebNKapLEUHVnaRtzKL9 14607581321143.jpg”
now it works
jintor
August 27, 2021, 3:30am
5
the second image I added don’t work
no error in the log shows
added QmQLJYJ6N8PgMthdfv2BKhmvXQDDE5a14iBygUmTPsDQUz 14680590386372.webp
ipfs://QmQLJYJ6N8PgMthdfv2BKhmvXQDDE5a14iBygUmTPsDQUz ==>> is not accessible
what is going on ?
what could be blocking ???
jintor
August 27, 2021, 9:19pm
6
Finally it works but it takes few hours to be “accessible”…
hector
August 31, 2021, 12:13pm
7
Check that your daemon can be contacted from the outside. If you are NATed, it won’t work so well. You may need to use a router that supports uPNP or open ports, or hardcode Announce addresses in the config.
ipfs id
should show /ipfs/kad/1.0.0
among the protocols (not just /ipfs/lan/kad/1.0.0
).
jintor
September 3, 2021, 3:22am
8
Hi,
I have this {
“ID”: “12D3Koo…”,
“PublicKey”: “CAESIO…”,
“Addresses”: [
“/ip4/127.0.0.1/tcp/4001/p2p/12D3Koo…”,
“/ip4/127.0.0.1/udp/4001/quic/p2p/12D3Koo…”,
“/ip4/159.89.121.18/tcp/4001/p2p/12D3Koo…”,
“/ip4/159.89.121.18/udp/4001/quic/p2p/12D3Koo…”,
“/ip6/::1/tcp/4001/p2p/12D3Koo…”,
“/ip6/::1/udp/4001/quic/p2p/12D3Koo…”
],
“AgentVersion”: “go-ipfs/0.9.1/dc2715af6”,
“ProtocolVersion”: “ipfs/0.1.0”,
“Protocols”: [
“/ipfs/bitswap”,
“/ipfs/bitswap/1.0.0”,
“/ipfs/bitswap/1.1.0”,
“/ipfs/bitswap/1.2.0”,
“/ipfs/id/1.0.0”,
“/ipfs/id/push/1.0.0”,
“/ipfs/kad/1.0.0”,
“/ipfs/lan/kad/1.0.0”,
“/ipfs/ping/1.0.0”,
“/libp2p/autonat/1.0.0”,
“/libp2p/circuit/relay/0.1.0”,
“/p2p/id/delta/1.0.0”,
“/x/”
]
}