@@ -122,11 +122,11 @@ static String localHost; static URI local(int port, String path) throws Exception { if (localHost == null) - localHost = InetAddress.getLocalHost().getHostName(); + localHost = InetAddress.getLocalHost().getCanonicalHostName(); return URI.create("http://" + localHost + ":" + port + path); } static void testAddRemove(int port) throws Exception {