Shadowsocks-libev: Permittion issues, Shadowsocks refuses to start.

Created on 8 Feb 2020  ·  3Comments  ·  Source: shadowsocks/shadowsocks-libev

What version of shadowsocks-libev are you using?

shadowsocks-libev 3.3.1-1

What operating system are you using?

Debian 10

What did you do?

sudo /snap/bin/shadowsocks-libev.ss-server -c /snap/bin/config.json

What did you expect to see?

run normally

What did you see instead?

2020-02-08 08:25:46 INFO: using tcp fast open
2020-02-08 08:25:46 INFO: UDP relay enabled
2020-02-08 08:25:46 INFO: initializing ciphers... xchacha20-ietf-poly1305
2020-02-08 08:25:46 INFO: tcp server listening at [::0]:443
2020-02-08 08:25:46 ERROR: listen(): Operation not permitted
2020-02-08 08:25:46 INFO: tcp server listening at 0.0.0.0:443
2020-02-08 08:25:46 ERROR: listen(): Operation not permitted
2020-02-08 08:25:46 ERROR: failed to listen on any address

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

{
"server":["::0", "0.0.0.0"],
"mode":"tcp_and_udp",
"server_port":443,
"local_port":1080,
"password":"hidden",
"timeout":300,
"method":"xchacha20-ietf-poly1305",
"fast_open":true
}

Snap list.

root@shadowsocks-server-tw:~# snap list
Name Version Rev Tracking Publisher Notes
core18 20200124 1668 stable canonical✓ base
shadowsocks-libev 3.3.3-1 368 stable max-c-lv -

Most helpful comment

It works after install the core from snap, better to add this step to the readme.

All 3 comments

make sure ss-server has permission to bind 443 port.

make sure ss-server has permission to bind 443 port.
Yes, I do everything with root permission.

It works after install the core from snap, better to add this step to the readme.

Was this page helpful?
0 / 5 - 0 ratings