From ab3ff06f3558de4b9e92030b9ec30a76a3fe6b58 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Wed, 22 Apr 2020 19:08:54 +0800 Subject: [PATCH] change default port --- python/paddle_serving_server/web_service.py | 2 +- python/paddle_serving_server_gpu/web_service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle_serving_server/web_service.py b/python/paddle_serving_server/web_service.py index 5fa9caa4..adf0d68c 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 ab01dcc2..ed7f16c5 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) -- GitLab