public Optional<Integer> getJsonRpcPort() {
    return jsonRpc.map(service -> service.socketAddress().getPort());
  }
Gets json rpc port.

@return the json rpc port
app/src/main/java/org/hyperledger/besu/Runner.java