Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web_serve会额外占用一个端口 #316

Closed
houj04 opened this issue Mar 23, 2020 · 1 comment
Closed

web_serve会额外占用一个端口 #316

houj04 opened this issue Mar 23, 2020 · 1 comment
Assignees

Comments

@houj04
Copy link

houj04 commented Mar 23, 2020

发现使用python -m paddle_serving_server_gpu.web_serve的时候,除了会使用设置的port以外,还会占用port+1这个端口。
在某些情况下用户无法获得连续的端口,例如在使用某些PaaS平台提供的动态端口的时候。
希望可以让用户自己指定每一个能使用的端口号,而不是目前直接在port后面+1。

@guru4elephant guru4elephant self-assigned this Mar 24, 2020
@guru4elephant
Copy link
Member

接下来会做改进,把rpc的端口通过环境变量获取,如果环境变量获取不了则从用户指定端口开始获取前N个可用端口用作rpc服务的端口,感谢反馈!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants