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

我该如何限制此插件使用网口?? #314

Open
PonderFox0643 opened this issue Sep 1, 2024 · 3 comments
Open

我该如何限制此插件使用网口?? #314

PonderFox0643 opened this issue Sep 1, 2024 · 3 comments

Comments

@PonderFox0643
Copy link

我主机是多网口的
有192.168.1.x和192.168.31.x

我给koishi配置了host 为192.168.1.x
但不知道为什么adapter-qq在走192.168.31.x
image
192.168.31.x不能给它用
我不知道该怎么做才能限制它

@MaikoTan
Copy link
Member

MaikoTan commented Sep 1, 2024

This is beyond of Satori as well as Adapters, you might need to "bind" your application to a specific interface.

https://superuser.com/questions/241178/how-to-use-different-network-interfaces-for-different-processes

@shigma
Copy link
Contributor

shigma commented Sep 1, 2024

在 server 插件中配置一下 host 可以解决吗?

@PonderFox0643
Copy link
Author

在 server 插件中配置一下 host 可以解决吗?

@shigma 并不能,上文已经写了“我给koishi配置了host”

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

3 participants