diff --git a/python/paddle_serving_server/web_service.py b/python/paddle_serving_server/web_service.py index 5fa9caa4b64d25a2a0012e18aeb59a9f2e43d951..adf0d68c08c040140f4e4e5bb1b4f6b7743599a7 100755 --- a/python/paddle_serving_server/web_service.py +++ b/python/paddle_serving_server/web_service.py @@ -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): diff --git a/python/paddle_serving_server_gpu/web_service.py b/python/paddle_serving_server_gpu/web_service.py index ab01dcc20b4b9018ca0589916e1865547955e3f2..ed7f16c5b822335d83937f013f44d90b01c0a19a 100644 --- a/python/paddle_serving_server_gpu/web_service.py +++ b/python/paddle_serving_server_gpu/web_service.py @@ -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)