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

服务端配置好监听端口,监听不了 #925

Open
lalali06 opened this issue Jan 30, 2024 · 3 comments
Open

服务端配置好监听端口,监听不了 #925

lalali06 opened this issue Jan 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@lalali06
Copy link

描述问题
服务端listen: :8443 ,与客户端无法连接,经过查询服务器的连接监听端口,此端口没有产生监听,更换监听端口以后也不能监听。服务端配置的是无域名的配置文件。查询hysteria是已经启动,没有问题。服务器是debian12。

如何复现
复现问题的步骤。

预期行为
你认为修复后的行为应该是怎样的。

日志
附上客户端/服务器端在错误发生前后的日志。

设备和操作系统
你在用什么设备和操作系统。

额外信息
其他你认为有助于解决问题的信息。

@lalali06 lalali06 added the bug Something isn't working label Jan 30, 2024
@tobyxdd
Copy link
Collaborator

tobyxdd commented Jan 30, 2024

经过查询服务器的连接监听端口,此端口没有产生监听

怎么查询监听端口的

@tobyxdd
Copy link
Collaborator

tobyxdd commented Jan 30, 2024

建议按这个排查 https://v2.hysteria.network/zh/docs/advanced/Troubleshooting/#failed-to-initialize-client-connect-error-timeout-no-recent-network-activity

注意 Hysteria 监听的是 UDP 端口, 不是 TCP。注意 Hysteria 监听的是 UDP 端口, 不是 TCP。注意 Hysteria 监听的是 UDP 端口, 不是 TCP。

@stqfdyr
Copy link

stqfdyr commented Jan 31, 2024

image

ufw 看一看你的端口,有 udp 规则吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants