提交 ab3ff06f 编写于 作者: M MRXLT

change default port

上级 bdf6e568
......@@ -59,7 +59,7 @@ class WebService(object):
self.workdir = workdir
self.port = port
self.device = device
default_port = 6000
default_port = 12000
self.port_list = []
for i in range(1000):
if self.port_is_available(default_port + i):
......
......@@ -82,7 +82,7 @@ class WebService(object):
self.device = device
self.gpuid = gpuid
self.port_list = []
default_port = 6000
default_port = 12000
for i in range(1000):
if self.port_is_available(default_port + i):
self.port_list.append(default_port + i)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册