在超级分层结构中调用链码时出错

问题描述 投票:0回答:1

我已经使我的自定义链码“mycc.js”成功安装在同行上。但是当我使用实例化这个链代码时

peer chaincode instantiate -l node -n mycc -v v0 -C mychannel -c '{"args":["init","A","100","B","100"]}' -o locahost:7050

命令。我得到错误这个错误Error: Error getting broadcast client: orderer client failed to connect to locahost:7050: failed to create new connection: context deadline exceeded

任何帮助表示赞赏。

hyperledger-fabric hyperledger-chaincode chaincode
1个回答
0
投票

它是localhost,而不是locahost,你错过了“l”

© www.soinside.com 2019 - 2024. All rights reserved.