public class BrooklynNetworkUtils
extends java.lang.Object
Constructor and Description |
---|
BrooklynNetworkUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getLocalhostExternalIp()
returns the externally-facing IP address from which this host comes, or 127.0.0.1 if not resolvable
|
static java.net.InetAddress |
getLocalhostInetAddress()
returns a IP address for localhost paying attention to a system property to prevent lookup in some cases
|
public static java.lang.String getLocalhostExternalIp()
public static java.net.InetAddress getLocalhostInetAddress()