Index: common/common-util/src/main/java/com/sun/enterprise/util/net/NetUtils.java =================================================================== --- common/common-util/src/main/java/com/sun/enterprise/util/net/NetUtils.java (revision 51541) +++ common/common-util/src/main/java/com/sun/enterprise/util/net/NetUtils.java (working copy) @@ -585,13 +585,12 @@ if (isPortFreeServer(port, add) == false) return false; // return immediately on "not-free" - add = InetAddress.getLocalHost(); - - if (isPortFreeServer(port, add) == false) - return false; // return immediately on "not-free" - add = InetAddress.getByName("localhost"); + if (isPortFreeServer(port, add) == true) + return true; // return immediately on "free" + + add = InetAddress.getLocalHost(); return isPortFreeServer(port, add); } catch (Exception e) {