Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getLocalHost (0.07 sec)

  1. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return env.get("COMPUTERNAME");
            }
            if (env.containsKey("HOSTNAME")) {
                return env.get("HOSTNAME");
            }
            try {
                return InetAddress.getLocalHost().getHostAddress();
            } catch (final UnknownHostException e) {
                logger.debug("Unknown hostname.", e);
            }
            return "Unknown";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top