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

Yak GRPC 双栈主机,在指定 host 参数的情况下会绑定至 v6 地址 #2315

Open
trganda opened this issue Jan 21, 2025 · 0 comments

Comments

@trganda
Copy link

trganda commented Jan 21, 2025

v4/v6 双栈云主机,操作系统 ubuntu 22.04,内核版本如下:

uname -a
Linux node3 6.5.0-1024-oracle #24~22.04.1-Ubuntu SMP Thu May 23 16:46:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

使用 Yak 设置远程连接,指定 --host 0.0.0.0

yak grpc --host 0.0.0.0 --port 8080 --secret 'xxx' --tls &

端口会被绑定到 v6 地址上

netstat -tln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp6       0      0 :::8080                :::*                    LISTEN
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

1 participant