{
InetAddress aLocalAddress = InetAddress.getLocalHost();
logger.info("Java returns " + addressToString(aLocalAddress) + " as the 'local' address");
assertNotSame("No external address", LOCALADDR, aLocalAddress.getHostAddress());
consistentAddress(aLocalAddress.getHostName(), false);
assertEquals("Inconsistent hostname", aLocalAddress.getHostName(), new HostNameFactory().create(null));
}