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

能不能添加监听指定IP的配置选项 #48

Closed
Geekvcn opened this issue May 30, 2022 · 3 comments
Closed

能不能添加监听指定IP的配置选项 #48

Geekvcn opened this issue May 30, 2022 · 3 comments

Comments

@Geekvcn
Copy link

Geekvcn commented May 30, 2022

目前是只能配置端口,然后监听主机所有V4 V6 IP的端口,其实也不是什么大问题,但是如果某些内核禁用IPv6协议的主机上启动的时候就会报错:Address family not supported by protocol (os error 97),所以我建议是添加一个IP绑定选项,默认或空值才监听所有IP

@EAimTY
Copy link
Collaborator

EAimTY commented Jun 4, 2022

之前原本是有类似功能的,但因为一些原因被去掉了。下个版本会重构 endpoint 部分,应该会重新加上这个功能

@EAimTY
Copy link
Collaborator

EAimTY commented Jun 25, 2022

已在 0.8.0-beta0 中添加了这个功能

@EAimTY EAimTY closed this as completed Jul 2, 2022
@fengqi
Copy link

fengqi commented Mar 13, 2023

@EAimTY
尝试用0.8.5,为啥也会提示 Address family not supported by protocol (os error 97) 呢

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

No branches or pull requests

3 participants