public int getPort() {
    return port;
  }
This value is meant to represent the port at which a peer is listening for connections. A value
of zero means the peer is not listening for incoming connections.

@return The tcp port on which the peer is listening for connections, 0 indicates the peer is
    not listening for connections.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/rlpx/wire/PeerInfo.java