美文网首页区块链eos项目
go-ipfs的基本操作

go-ipfs的基本操作

作者: 站长_郭生 | 来源:发表于2018-07-04 16:40 被阅读0次

安装

cd $GOPATH/src/github.com/ipfs/go-ipfs
make install

报错 连接ipfs.io国内因为防护墙的原因连不上

shell.Get(): Post https://ipfs.io/api/v0/get?arg=QmXfkENeeBvh3zYA51MaSdGUdBjhQ99cP5WQe8zgr6wchG&encoding=json&stream-channels=true: dial tcp 69.63.176.15:443: connect: connection refused
retrying fetch QmXfkENeeBvh3zYA51MaSdGUdBjhQ99cP5WQe8zgr6wchG after a second...

解决方案

控制台翻墙
export http_proxy="http://127.0.0.1:1087"    
export https_proxy="http://127.0.0.1:1087"

相关文章

网友评论

    本文标题:go-ipfs的基本操作

    本文链接:https://www.haomeiwen.com/subject/qoneuftx.html