提交 7af4bc6c 编写于 作者: L liangfei0201

DUBBO-501 随机端口改为在缺省端口的基础上增长

上级 bf0eee92
......@@ -80,7 +80,7 @@ public class NetUtils {
ServerSocket ss = null;
try {
ss = new ServerSocket(i);
return ss.getLocalPort();
return i;
} catch (IOException e) {
// continue
} finally {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册