我在main.go 中 设置router.Run(“0.0.0.0:8088”),这样从外面可以访问这个url,但是报了这个错误,应该是config.yaml中peer的url 和event url设置不对,我设置是这两个,改成0.0.0.0:7051也是报这样的错误
url: peer0.org1.example.com:7051
# eventUrl is only needed when using eventhub (default is delivery service)
eventUrl: peer0.org1.example.com:7053
event service creation failed: could not get chConfig cache reference: QueryBlockConfig failed: queryChaincode failed: Transaction processing for endorser [peer0.org1.example.com:7051]: Endorser Client Status Code: (2) CONNECTION_FAILED. Description: dialing connection timed out [peer0.org1.example.com:7051]