hyperledger icon indicating copy to clipboard operation
hyperledger copied to clipboard

容器间网络不通

Open winary opened this issue 7 years ago • 1 comments

“CORE_CHAINCODE_ID_NAME="mycc:v0" npm start -- --peer.address grpc://192.168.0.1:7052”

要将192.168.0.1换了容器的虚拟ip,172开头那个,才能通信

后面几个也是

winary avatar Aug 13 '18 09:08 winary

ipconfig一下 ,查看一下docker网络 默认的局域网的ip号段是多少, 有些人是192.168.x.x号段的 有写人是172.17.x.x号段的 按照自己的情况修改即可

itheima1 avatar Sep 27 '18 02:09 itheima1