man, what can i say?
Xray 24.11.30 (Xray, Penetrates Everything.) 98a72b6 (go1.23.3 linux/amd64) A unified platform for anti-censorship. 2024/12/10 02:01:17 Using confdir from arg: /etc/xray/conf 2024/12/10 02:01:17 [Info] infra/conf/serial: Reading config: &{Name:/etc/xray/config.json Format:json} 2024/12/10 02:01:17 [Info] infra/conf/serial: Reading config: &{Name:/etc/xray/conf/Shadowsocks-12447.json Format:json} 2024/12/10 02:01:17 [Info] infra/conf: [/etc/xray/conf/Shadowsocks-12447.json] appended inbound with tag: Shadowsocks-12447.json 2024/12/10 02:01:17 [Info] infra/conf/serial: Reading config: &{Name:/etc/xray/conf/Shadowsocks-37582.json Format:json} 2024/12/10 02:01:17 [Info] infra/conf: [/etc/xray/conf/Shadowsocks-37582.json] appended inbound with tag: Shadowsocks-37582.json 2024/12/10 02:01:17 [Info] infra/conf/serial: Reading config: &{Name:/etc/xray/conf/Shadowsocks-55665.json Format:json} 2024/12/10 02:01:17 [Info] infra/conf: [/etc/xray/conf/Shadowsocks-55665.json] appended inbound with tag: Shadowsocks-55665.json 2024/12/10 02:01:17 [Info] infra/conf/serial: Reading config: &{Name:/etc/xray/conf/VLESS-REALITY-17871.json Format:json} 2024/12/10 02:01:17 [Info] infra/conf: [/etc/xray/conf/VLESS-REALITY-17871.json] appended inbound with tag: VLESS-REALITY-17871.json Failed to start: app/proxyman/inbound: failed to listen TCP on 64870 > transport/internet: failed to listen on address: 127.0.0.1:64870 > transport/internet/tcp: failed to listen TCP on 127.0.0.1:64870 > listen tcp 127.0.0.1:64870: bind: cannot assign requested address
debian 系统吧;其实我一直没法理解为什么会这样,也许是系统的问题
用这个可以临时修复
cat <<< $(jq 'del(.inbounds)' /etc/xray/config.json) > /etc/xray/config.json; xray restart