Skip to content
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
Closed
@harshjv

Description

@harshjv

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
    ],
    // ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportA question or request for support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions