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

【fc-core】s local start 不应该生成 随机端口 #382

Closed
rsonghuster opened this issue Oct 26, 2021 · 3 comments
Closed

【fc-core】s local start 不应该生成 随机端口 #382

rsonghuster opened this issue Oct 26, 2021 · 3 comments
Labels
high priority Priority issues

Comments

@rsonghuster
Copy link
Contributor

对于 custom runtime 和 custom container, s local start 不应该生成随机端口, 而是和 caPort 一样的端口

@anycodes
Copy link
Contributor

我觉得这个可以考虑优先使用caPort,如果这个port被占用,可以随机一个,用户也可以指定。

@heimanba
Copy link
Contributor

caport是容器暴露的端口,使用时候会显示端口被占用。使用在没有被占用的情况下使用 caport + 1这样的默认端口

@heimanba heimanba added the to be released PR has been merged to master, to be released label Dec 17, 2021
@wss-git wss-git changed the title s local start 不应该生成 随机端口 【fc-core】s local start 不应该生成 随机端口 Jan 21, 2022
@wss-git wss-git added high priority Priority issues and removed to be released PR has been merged to master, to be released labels Jan 21, 2022
@wss-git
Copy link
Member

wss-git commented Feb 16, 2022

最终交互:

  1. 针对 custom 和 镜像函数:默认使用 caport + 1 的固定端口,其他函数是随机一个端口。
  2. 可以指定 --server-port 9090 指定端口

@wss-git wss-git closed this as completed Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority Priority issues
Projects
None yet
Development

No branches or pull requests

4 participants