skip to Main Content

I am trying to create a network from the hyperledger fabic tutorial. I get the following error:

Error: failed to create deliver client for orderer: orderer client failed to connect to localhost:7050: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp [::1]:7050: connect: connection refused"

I opened up the port on the Centos 7 Virtual machine and still no luck. The docker container is exposing the port to the host.

I removed all docker containers, images and volumes. I even rebuilt the VM from scratch.

Any help would be great.

Thanks,

2

Answers


  1. This situation is happened because you called a gRPC to orderer server but your call failed to hit the server. This situation may happen for many reasons, but for most of the cases the situation is happened due to server down(orderer server exit or down due to misconfiguration) or your call failed to hit the server due to misconfiguration.

    Login or Signup to reply.
  2. I somehow encounter this problem before and the port was opened. Somehow it was a mistake where I forgot to put ‘-a’ in command (launch cerificate authorities). Hope it help.

    You might also refer this : https://hyperledger-fabric.readthedocs.io/en/release-2.0/build_network.html

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search