ssr端口占用问题

最近启动ssr一直弹窗警告端口被占用:

1
2
3
System.Exception:端口已被占用
在Shadowsocks.Controller.Listener.Start(Configuration config)
在Shadowsocks.Controller.ShadowsocksController.Reload()

网上找了很多办法,有用的一条:

  • 打开 Shadowsocks.exe 所在目录下的 gui-config.json 文件;
  • 将 “localPort”: 后面的数字修改为其他端口号(默认1080),比如 7777,保存退出;
  • 重启 Shadowsocks.exe

参考:https://github.com/shadowsocks/shadowsocks-windows/issues/1324

Author: Krab
Link: https://isxrh.github.io/2020/09/17/202009_ssr端口占用问题/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.