Reputation: 437
In core.yaml for peer we can define env. variable as chaincodelistenaddress (CORE_PEER_CHAINCODELISTENADDRESS).
it gives me error as address already bind while starting peer container.
it gives me error as can not assign address peer01.local.com:7052.
Upvotes: 1
Views: 1775
Reputation: 5140
This refers to the endpoint that the peer would listen to with regarding for the chaincode service.
Yes, you can use the variable when using dev-mode.
With regarding the errors - please specify your fabric version as things have changed slightly in the master branch.
In v1.0.0 (release branch), you can make your chaincode bind to the same port as the peer.
Also - please upload your core.yaml and the peer log for further information. Alternatively you can seek advice in the fabric channel in https://chat.hyperledger.org/channel/fabric
Upvotes: 2