@Override
  public int getPort() {
    return port;
  }
Returns the port on which rmiregistry listens for incoming connections

@return the port on which rmiregistry listens for incoming connections
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/RMIRegistryService.java