@Override
  public void validate() {
    super.validate();

    if (port < MIN_PORT || port > MAX_PORT) {
      throw new IllegalArgumentException(
          String.format("Port ( %s ) must be an integer between %s and %s",
              port, MIN_PORT,
              MAX_PORT));
    }

    if (bindAddress != null && validateHost(bindAddress) == null) {
      throw new IllegalArgumentException(
          String.format("Invalid host %s",
              bindAddress));
    }
  }
Sets the locator that was configured with this <Code>DistributionLocatorConfigImpl</code>.
geode-core/src/main/java/org/apache/geode/admin/internal/DistributionLocatorConfigImpl.java