code: @FFDCIgnore(Exception.class)
      private void checkVCAPHost(ServerInfo server) {
          String VCAP_APPLICATION = System.getenv("VCAP_APPLICATION");
          if (VCAP_APPLICATION != null) {
              try {
                  JsonNode node = Json.mapper().readValue(VCAP_APPLICATION, JsonNode.class);
                  ArrayNode uris = (ArrayNode) node.get("uris");
                  if (uris != null && uris.size() > 0 && uris.get(0) != null) {
                      server.setHost(uris.get(0).textValue());
                      if (OpenAPIUtils.isEventEnabled(tc)) {
                          Tr.event(this, tc, "Changed hostPort using VCAP_APPLICATION.  New value: " + server.getHost());
                      }
                  }
              } catch (Exception e) {
                  if (OpenAPIUtils.isEventEnabled(tc)) {
                      Tr.event(this, tc, "Exception while parsing VCAP_APPLICATION env: " + e.getMessage());
                  }
              }
          }
      }
docs: This method check the environment variable"VCAP_APPLICATION", which in Cloud Foundry (where Bluemix runs)
  will be set to the actual host that is visible to the user. In that environment the VHost from Liberty
  is private and not accessible externally.