Shadowsocks-libev: 服务器端口配置错误,如何让ss-local退出

Created on 16 Dec 2015  ·  3Comments  ·  Source: shadowsocks/shadowsocks-libev

ss-local启动后,它就一直在运行,当我关闭服务端的ss-server进程后,客户端的ss-local还在运行
我应该如何设置让ss-local自己退出?或者我应该如何改相关的代码?

Most helpful comment

pkill ss-local

All 3 comments

pkill ss-local

但是如何在客户端判断服务器端口末打开?

@alfal 你没必要关闭客户端的ss-local,抛开资源占用因素,除非你使用socks5代理的程序会自动检测端口关闭并切换至本地网络或其他代理。顺便一提,ss是无连接协议,就是说无论你服务端的配置如何,打开与否,ss-local都能正确执行(不能使用罢了,因为不会检测)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhfreal picture zhfreal  ·  4Comments

iceberg1369 picture iceberg1369  ·  3Comments

tianlichunhong picture tianlichunhong  ·  4Comments

yuhaiyang picture yuhaiyang  ·  4Comments

xuhuigithub picture xuhuigithub  ·  4Comments