1

在第一个终端

/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
4

1 回答 1

2

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

$ ipfs bootstrap list

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

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

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

 $ ipfs bootstrap add --default
于 2017-10-22T00:36:36.087 回答