Shadowsocks-libev: 无法启动服务

Created on 3 Feb 2017  ·  4Comments  ·  Source: shadowsocks/shadowsocks-libev

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-libev are you using?

3.0

What operating system are you using?

Debian 8

What did you do?

启动服务

What did you expect to see?

成功启动

What did you see instead?

Feb 3 21:18:14 BossySalty-VM ss-server[469]: 2017-02-03 21:18:14 ERROR: bind: Permission denied
Feb 3 21:18:14 BossySalty-VM ss-server[469]: 2017-02-03 21:18:14 ERROR: Could not bind
Feb 3 21:18:14 BossySalty-VM ss-server[469]: 2017-02-03 21:18:14 ERROR: bind() error
Feb 3 21:18:14 BossySalty-VM systemd[1]: shadowsocks-libev.service: main process exited, code=exited, status=255/n/a
Feb 3 21:18:14 BossySalty-VM systemd[1]: Unit shadowsocks-libev.service entered failed state.

What is your config in detail (with all sensitive info masked)?

{
"server":"0.0.0.0",
"server_port":443,
"local_port":1080,
"password":"XXXXXXXX",
"timeout":600,
"method":"chacha20"
}

Most helpful comment

setcap cap_net_bind_service+ep /usr/bin/ss-server之后解决了。谢谢 @rogers0

All 4 comments

@rule2c I wonder maybe it's same issue as resolved in https://github.com/shadowsocks/shadowsocks-libev/issues/1166#issuecomment-276902983

在4d6a230之前是好的,更新到f64177a,就无法启动了。
我也没有使用插件。

setcap cap_net_bind_service+ep /usr/bin/ss-server之后解决了。谢谢 @rogers0

setcap cap_net_bind_service+ep /usr/bin/ss-server之后解决了。谢谢 @rogers0

是我把端口号改成443 引起的。谢谢

Was this page helpful?
0 / 5 - 0 ratings