code: public static String getLocalIp() throws RuntimeException
  	{
  		try
  		{
  			InetAddress addr = getLocalIpAddress();
  
  			return addr.getHostAddress();
  		}
  		catch (RuntimeException e)
  		{
  			throw new RuntimeException("[FileHelper] {getLocalIp}: Unable to find the local machine", e);
  		}
  	}
docs: Gets the local IP address
  
  @return String the local ip address's HostAddress
  
  @throws RuntimeException
  On error (eg. when the local host cannot be determined)