CORE_PEER_ADDRESS vs CORE_PEER_LISTENADDRESS


Siddharth Jain
 

from the docs w.r.t. CORE_PEER_ADDRESS it is said that this represents the endpoint to other peers in the same organization.

and CORE_PEER_LISTENADDRESS is The Address at local network interface this Peer will listen on.

So why would anyone want to set these two differently? If my friend's actual phone number is 123-456-7890 (the CORE_PEER_LISTENADDRESS) and the number I have in my phone book is 234-567-8901 (the CORE_PEER_ADDRESS) then there is bound to be a problem when I try to call my friend. So why does Fabric open up this possibility?

Join fabric@lists.hyperledger.org to automatically receive all group messages.