【问题标题】:peer node start => Cannot dial to 0.0.0.0:7050, because of grpc: timed out when dialingpeer node start => 无法拨号到 0.0.0.0:7050,因为 grpc: 拨号时超时
【发布时间】:2017-01-03 10:10:57
【问题描述】:

有人可以建议如何解决错误,Cannot dial to 0.0.0.0:7050, because of grpc: timed out when dialing, when running peer node start.

2017-01-01 16:48:24.391 UTC [committer] initDeliver -> ERRO 097 无法拨号到 0.0.0.0:7050,因为 grpc:拨号时超时 2017-01-01 16:48:24.392 UTC [committer] startDeliver -> ERRO 098 无法启动传递协议 [grpc: 拨号时超时]

我在运行时也遇到错误:

peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}'

错误:获取广播客户端时出错:由于 grpc 连接到 0.0.0.0:7050 时出错:拨号时超时

【问题讨论】:

  • 您使用的是哪个版本的面料? 0.6 还是 1.0 预览版?

标签: hyperledger hyperledger-fabric


【解决方案1】:

似乎您为 grpc 使用了错误的端口。 7050 是对等方的 REST 端口。默认的 grpc 端口是 7051

【讨论】:

  • 感谢回答,请问在哪里可以调整端口号?
猜你喜欢
  • 1970-01-01
  • 2021-03-31
  • 1970-01-01
  • 2015-07-26
  • 2018-08-06
  • 2012-06-07
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多