|
|
@ -65,12 +65,12 @@ public class DesignUtils { |
|
|
|
* @return 启动了返回true |
|
|
|
* @return 启动了返回true |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static boolean isStarted() { |
|
|
|
public static boolean isStarted() { |
|
|
|
// try {
|
|
|
|
try { |
|
|
|
// new Socket("localhost", port);
|
|
|
|
new Socket("localhost", port); |
|
|
|
// return true;
|
|
|
|
return true; |
|
|
|
// } catch (Exception exp) {
|
|
|
|
} catch (Exception exp) { |
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
} |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|