bschuchardt commented on pull request #5131:
URL: https://github.com/apache/geode/pull/5131#issuecomment-632166879


   The locator setting is inserted in `InternalLocator.startDistributedSystem()`
   
   ```
   private void startDistributedSystem() throws IOException {
       InternalDistributedSystem existing = 
InternalDistributedSystem.getConnectedInstance();
       if (existing != null) {
         // LOG: changed from config to info
         logger.info("Using existing distributed system: {}", existing);
         startCache(existing);
       } else {
         StringBuilder sb = new StringBuilder(100);
         if (bindAddress != null) {
           sb.append(bindAddress.getHostAddress()); <<< HERE
         } else {
           sb.append(LocalHostUtil.getLocalHost().getHostAddress());  <<< and 
HERE
         }
         sb.append('[').append(getPort()).append(']');
         String thisLocator = sb.toString();
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to