-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Bug]: 正向WS 6700端口使用了IPV6 #1438
Comments
根据go标准库文档 https://pkg.go.dev/net#Listen 目前可以考虑更改配置文件为network和address两项, network 默认为 tcp,如果需要只监听 ipv4 即改为 tcp4, 同时也一并支持了 #1415 |
明白了,谢谢 |
root@GZ-Debian:~# lsof -i:6700 改成监听 :6700 后还是只有IPV6 |
请尝试使用 https://github.com/Mrs4s/go-cqhttp/actions/runs/2028112368 |
不好意思现在才看到,成功解决啦!谢谢!! |
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
v1.0.0-rc1
运行环境
Linux
运行架构
AMD64
连接方式
WebSocket (正向)
使用协议
0 | iPad
重现步骤
系统已禁用所有ipv6服务,但正向ws还是使用了ipv6类型,导致跨服务器使用ipv4无法连接,反向ws正常使用ipv4。
期望的结果是什么?
正向ws 6700端口使用ipv4
实际的结果是什么?
正向ws 6700端口使用了ipv6,没有使用ipv4
简单的复现代码/链接(可选)
日志记录(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: