This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
No peers and addresses #694
Closed
Description
ipfs.swarm.peers
and ipfs.swarm.addrs
return empty array.
ipfs.swarm.peers((err, peerInfos) => console.log(peerInfos)) // []
ipfs.swarm.addrs((err, peerInfos) => console.log(peerInfos)) // []
Tried to do NAT with UPNP random public port, but still didn't work.
{
"Addresses": {
"Swarm": [
"/ip4/0.0.0.0/tcp/4002",
"/ip4/192.168.0.3/tcp/4002",
"/ip4/<my_public_ip>/tcp/4002" // mapped 4002 -> some random public port
],
// ...