【问题标题】:I am not getting any Ipfs peers. Ipfs daemon is running but ipfs swarm peers show nothing?我没有得到任何 Ipfs 同行。 ipfs 守护进程正在运行,但 ipfs swarm peers 什么也没显示?
【发布时间】:2018-03-22 11:10:26
【问题描述】:

在第一个终端

/Desktop/JOO$ ipfs daemon
Initializing daemon...
Adjusting current ulimit to 2048...
Successfully raised file descriptor limit to 2048.
Swarm listening on /ip4/10.14.13.31/tcp/4001
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8088
Daemon is ready

在第二个终端

/Desktop/JOO$ ipfs  swarm peers

【问题讨论】:

  • 您有问题吗?
  • 我无法连接到任何对等方。这里有什么问题?。解决办法是什么?

标签: ipfs


【解决方案1】:

看看你是否有任何引导同行:

$ ipfs bootstrap list

如果没有,则在引导列表中添加一个对等点:

$ ipfs bootstrap add /ip4/25.196.147.100/tcp/4001/ipfs/QmaMqSwWShsPg2RbredZtoneFjXhim7AQkqbLxib45Lx4S

您还可以恢复默认引导列表:

 $ ipfs bootstrap add --default

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-03-13
    • 1970-01-01
    • 2021-02-23
    • 1970-01-01
    • 2023-01-04
    • 2021-09-03
    • 2019-12-16
    • 2017-09-03
    相关资源
    最近更新 更多