我正在尝试将自己的ABCI应用程序与localnet集成。 docker-compose外观为
version: '3'
services:
node0:
container_name: node0
image: "tendermint/localnode"
ports:
- "26656-26657:26656-26657"
environment:
- ID=0
- LOG=${LOG:-tendermint.log}
volumes:
- ./build:/tendermint:Z
command: node --proxy_app=tcp://abci0:26658
networks:
localnet:
ipv4_address: 192.167.10.2
abci0:
container_name: abci0
image: "abci-image"
volumes:
- $GOPATH/src/samplePOC:/go/src/samplePOC
ports:
- "26658:26658"
build:
context: .
dockerfile: $GOPATH/src/samplePOC/Dockerfile
command: /go/src/samplePOC/samplePOC
networks:
localnet:
ipv4_address: 192.167.10.6
节点和抽象容器都已成功构建。 ABCI服务器已成功启动,并且节点正在尝试建立连接。但是主要的问题是我看到两者无法互相通信。
我收到以下错误:
node0 | E [2019-10-29 | 15:14:28.525] abci.socketClient无法连接 到tcp:// abci0:26658。正在重试... module = abci-client connection = query err =“ dial tcp 192.167.10.6:26658:connect:连接被拒绝”
有人可以在这里帮助我吗?