0

I have made my custom chaincode "mycc.js" It is successfully installed on peer. But when i Instantiate this chaincode using

peer chaincode instantiate -l node -n mycc -v v0 -C mychannel -c '{"args":["init","A","100","B","100"]}' -o locahost:7050

command. I got error this error Error: Error getting broadcast client: orderer client failed to connect to locahost:7050: failed to create new connection: context deadline exceeded

Any help is appreciated.

Rohit Kumar
  • 438
  • 2
  • 6
  • 16

1 Answers1

1

It's localhost, not locahost, you are missing "l"

guoger
  • 197
  • 1
  • 2
  • 9