Will_Z
Will_Z

Reputation: 258

Is anything wrong with my hyperledger network setup in my local machine?

As guide of https://github.com/hyperledger/fabric/blob/master/docs/Setup/Network-setup.md

In my command 1: docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_LOGGING_LEVEL=DEBUG -e CORE_PEER_ID=vp0 -e CORE_PEER_ADDRESSAUTODETECT=true hyperledger/fabric-peer peer node start enter image description here

In my command 2: docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=vp1 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_PEER_DISCOVERY_ROOTNODE=172.17.0.2:30303 hyperledger/fabric-peer peer node start

enter image description here

And I want to check my network status, "./peer node status" failed? enter image description here

How can I check the network status in local machine?

Upvotes: 0

Views: 524

Answers (1)

Sergey Balashevich
Sergey Balashevich

Reputation: 2101

The ./peer node status tries to connect to peer on host machine, but your network is started in docker container. You can check the status using:

 “CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer node status"

Upvotes: 0

Related Questions