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

ss-server指定监听“::”时,不能同时监听ipv4 #254

Closed
blackgear opened this issue Feb 5, 2015 · 3 comments
Closed

ss-server指定监听“::”时,不能同时监听ipv4 #254

blackgear opened this issue Feb 5, 2015 · 3 comments

Comments

@blackgear
Copy link

在原来的版本中,可以通过指定"server":"::",来达到同时监听ipv4与ipv6的效果,在2.1.2版本中却只能监听ipv6,不能监听ipv4。(2.0.x版本似乎没有这个问题,1.6.4版本肯定没有这个问题,暂时不能确定具体上从哪个版本开始出现的问题)

netstat -npl返回:
tcp6 0 0 :::8080 :::* LISTEN 2032/ss-server
没有绑定0.0.0.0。

libev版本与C#版本的客户端在只支持ipv4的网络上也不能连接到这台服务器,推测这不是客户端的问题,而我在Debian 7和Ubuntu 14.04两个系统的两台VPS上均遇到了同样的问题,推测这也不是系统的问题。

bdwm论坛上有另外一人遇到了这一情况(倒数第二楼):
http://www.bdwm.net/bbs/bbstcon.php?board=Networking&threadid=15358263&num=17425

推测这是一个服务端的bug,还请研究解决方案,多谢。

@aa65535
Copy link

aa65535 commented Feb 5, 2015

70f1764

@madeye
Copy link

madeye commented Feb 5, 2015

"server":["[::0]", "0.0.0.0"]

@siwind
Copy link

siwind commented Sep 27, 2019

ss-local 如果也能同时监听 IPv4 & IPv6 就完美了~~

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

4 participants