code: public String getIPAddress() {
  	String value = System.getProperty("org.globus.ip");
  	if (value != null) {
  	    return value;
  	}
  	value = getProperty("ip", null);
  	if (value != null) {
  	    return value;
  	}
  	value = getHostName();
  	if (value != null) {
  	    try {
  		return InetAddress.getByName(value).getHostAddress();
  	    } catch (UnknownHostException e) {
  		return null;
  	    }
  	}
  	return value;
      }
docs: Returns the user specified ip address. This is used
  for DHCP machines where java is unable to determine the
  right IP address.
  It first checks the 'org.globus.ip' system property.
  If that property is not set, it checks next the 'ip' property
  in the current configuration. If the 'ip' property is not set in the
  current configuration, the hostname of the machine is looked up
  using the {@link #getHostName() getHostName()} function. If
  <code>getHostName()</code> returns a hostname that hostname is converted
  into an IP address and it is returned. Otherwise, null is returned
  (and default ip address will be used)
  
  @return <code>String</code> the ip address of the machine.