学会查看底层日志
界面底部的信息框会实时输出内核运行日志。注意观察红色的 Error 信息,这是定位配置错误或握手失败的最快途径。
[Info] 2026/05/10 14:22:15 Using config from: C:\v2rayN\config.json
[Info] 2026/05/10 14:22:15 core version: 1.8.1 (Xray, Custom build)
[Warning] 2026/05/10 14:22:16 app/proxyman/inbound: local port 10808 is already in use.
[Error] 2026/05/10 14:22:16 app/proxyman/inbound: failed to listen TCP on 127.0.0.1:10808 > transport/internet: failed to listen on address: 127.0.0.1:10808 > bind: Only one usage of each socket address is permitted.
// 解析:上述日志明确指出 10808 端口被占用。您需要修改监听端口或关闭占用该端口的程序。
[Error] 2026/05/10 14:25:30 proxy/vmess/outbound: failed to find an available destination > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > proxy/vmess/encoding: invalid user: VMessAEAD is enforced.
// 解析:节点配置要求 AEAD 加密,通常是因为参数中的 AlterID 设置不为 0。请修改节点属性。
[Info] 2026/05/10 14:22:15 core version: 1.8.1 (Xray, Custom build)
[Warning] 2026/05/10 14:22:16 app/proxyman/inbound: local port 10808 is already in use.
[Error] 2026/05/10 14:22:16 app/proxyman/inbound: failed to listen TCP on 127.0.0.1:10808 > transport/internet: failed to listen on address: 127.0.0.1:10808 > bind: Only one usage of each socket address is permitted.
// 解析:上述日志明确指出 10808 端口被占用。您需要修改监听端口或关闭占用该端口的程序。
[Error] 2026/05/10 14:25:30 proxy/vmess/outbound: failed to find an available destination > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > proxy/vmess/encoding: invalid user: VMessAEAD is enforced.
// 解析:节点配置要求 AEAD 加密,通常是因为参数中的 AlterID 设置不为 0。请修改节点属性。