public LocatorStatusResponse statusForLocator(int port, InetAddress bindAddressArg)
      throws IOException {
    final String bindAddress =
        bindAddressArg == null ? null : bindAddressArg.getCanonicalHostName();
    final SSLConfig sslConfig = getSSLConfigurations(getLocator());
    return getLocatorStatusResponse(port, bindAddress, sslConfig);
  }
Returns the status of the locator on the given host and port. If you have endpoint
identification enabled the preferred method is statusForLocator(int, String), which
lets you specify the locator's name that the locator has stored in its TLS certificate

@param port the port that the locator is listening on
@param bindAddressArg the IP address to which the locator's socket binds
@return a {@link LocatorStatusResponse} representing the status of the locator
@throws IOException if there is a problem interacting with the locator
geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java