Class IPUtils

java.lang.Object
org.alfresco.util.IPUtils

public class IPUtils extends Object
  • Constructor Details

    • IPUtils

      public IPUtils()
  • Method Details

    • getRealIPAddress

      public static String getRealIPAddress(String ipAddress) throws UnknownHostException
      Returns the "real" IP address represented by ipAddress. If ipAddress is a loopback address it is converted into the host's underlying IP address
      Parameters:
      ipAddress - String
      Returns:
      String
      Throws:
      UnknownHostException