[Bug]: 监听端口无论如何修改都显示被占用 #7096
genterator
started this conversation in
General
Replies: 1 comment 1 reply
-
看日志,你使用的 自定义配置吧? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
操作系统和版本
MacOS:15.3.2;v2rayN:7.10.5
预期情况
本地混合监听端口无论修改为多少都会显示端口占用
实际情况
无论如何修改本地混合监听端口都显示端口被占用,控制台打印信息如下:
[Custom] [mihomo]lanyun
v2rayN - V7.10.5 - X64 | /Users/genterator/Library/Application Support/v2rayN | /Applications/v2rayN.app/Contents/MacOS/v2rayN | Unix 15.3.2
启动服务(2025/04/09 23:18:52)...
time="2025-04-09T23:18:53.508862000+08:00" level=info msg="Start initial configuration in progress"
time="2025-04-09T23:18:53.509998000+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-04-09T23:18:53.510012000+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-04-09T23:18:53.510163000+08:00" level=info msg="Initial configuration complete, total time: 1ms"
Xray 25.1.1 (Xray, Penetrates Everything.) e80ca67 (go1.23.4 darwin/amd64)
A unified platform for anti-censorship.
2025/04/09 23:18:54 [Info] infra/conf/serial: Reading config: &{Name:configPre.json Format:json}
[Custom] [mihomo]lanyun
Failed to start: app/proxyman/inbound: failed to listen TCP on 10808 > transport/internet: failed to listen on address: 127.0.0.1:10808 > transport/internet/tcp: failed to listen TCP on 127.0.0.1:10808 > listen tcp 127.0.0.1:10808: bind: address already in use
time="2025-04-09T23:18:59.575057000+08:00" level=warning msg="[TCP] dial DIRECT 127.0.0.1:57655 --> www.google.com:443 error: connect failed: dial tcp 31.13.94.49:443: i/o timeout"
time="2025-04-09T23:19:05.086915000+08:00" level=warning msg="[TCP] dial DIRECT 127.0.0.1:57658 --> www.google.com:443 error: connect failed: dial tcp 31.13.94.49:443: i/o timeout"
2025/04/09 23:19:05 当前延迟: -1 ms,none
复现方法
第一次安装后可以使用,关机重启后就一直显示端口占用,修改其他端口号依然显示占用
日志信息
2025-04-09 23:11:08.3569-INFO v2rayN start up | v2rayN - V7.10.5 - X64 | /Users/genterator/Library/Application Support/v2rayN | /Applications/v2rayN.app/Contents/MacOS/v2rayN | Unix 15.3.2
2025-04-09 23:11:12.0792-INFO Setup Scheduled Tasks
2025-04-09 23:13:08.8549-DEBUG ProcUtils,ProcessHasExited, 11735
2025-04-09 23:13:08.8853-DEBUG at System.Diagnostics.Process.ThrowIfExited(Boolean refresh)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Modules()
at System.Diagnostics.Process.get_MainModule()
at ServiceLib.Common.ProcUtils.GetProcessKeyInfo(Process proc, Boolean review, Nullable`1& procId, String& fileName, String& processName) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 147
2025-04-09 23:13:18.6306-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
/bin/bash: fc-list: command not found
2025-04-09 23:13:18.6379-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 582
2025-04-09 23:13:18.6390-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#11778) returned a non-zero exit code (127).
Command:
/bin/bash -c "fc-list : family"
You can suppress this validation by calling
WithValidation(CommandResultValidation.None)
on the command.2025-04-09 23:13:35.5590-DEBUG ProcUtils,ProcessHasExited, 11776
2025-04-09 23:13:35.5598-DEBUG at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Modules()
at System.Diagnostics.Process.get_MainModule()
at ServiceLib.Common.ProcUtils.GetProcessKeyInfo(Process proc, Boolean review, Nullable
1& procId, String& fileName, String& processName) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 147 2025-04-09 23:13:48.9096-DEBUG ProcUtils,ProcessHasExited, 11781 2025-04-09 23:13:48.9110-DEBUG at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_Modules() at System.Diagnostics.Process.get_MainModule() at ServiceLib.Common.ProcUtils.GetProcessKeyInfo(Process proc, Boolean review, Nullable
1& procId, String& fileName, String& processName) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 1472025-04-09 23:14:02.0563-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
/bin/bash: fc-list: command not found
2025-04-09 23:14:02.0575-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 582
2025-04-09 23:14:02.0575-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#11785) returned a non-zero exit code (127).
Command:
/bin/bash -c "fc-list : family"
You can suppress this validation by calling
WithValidation(CommandResultValidation.None)
on the command.2025-04-09 23:14:50.5277-DEBUG ProcUtils,ProcessHasExited, 11784
2025-04-09 23:14:50.5287-DEBUG at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Modules()
at System.Diagnostics.Process.get_MainModule()
at ServiceLib.Common.ProcUtils.GetProcessKeyInfo(Process proc, Boolean review, Nullable`1& procId, String& fileName, String& processName) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 147
2025-04-09 23:14:56.3210-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
/bin/bash: fc-list: command not found
2025-04-09 23:14:56.3225-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 582
2025-04-09 23:14:56.3225-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#11791) returned a non-zero exit code (127).
Command:
/bin/bash -c "fc-list : family"
You can suppress this validation by calling
WithValidation(CommandResultValidation.None)
on the command.2025-04-09 23:15:03.6658-DEBUG ProcUtils,ProcessHasExited, 11790
2025-04-09 23:15:03.6671-DEBUG at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Modules()
at System.Diagnostics.Process.get_MainModule()
at ServiceLib.Common.ProcUtils.GetProcessKeyInfo(Process proc, Boolean review, Nullable
1& procId, String& fileName, String& processName) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 147 2025-04-09 23:18:52.9332-DEBUG ProcUtils,ProcessHasExited, 11794 2025-04-09 23:18:52.9357-DEBUG at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_Modules() at System.Diagnostics.Process.get_MainModule() at ServiceLib.Common.ProcUtils.GetProcessKeyInfo(Process proc, Boolean review, Nullable
1& procId, String& fileName, String& processName) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 1472025-04-09 23:22:46.1177-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
/bin/bash: fc-list: command not found
2025-04-09 23:22:46.1201-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 582
2025-04-09 23:22:46.1201-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#11840) returned a non-zero exit code (127).
Command:
/bin/bash -c "fc-list : family"
You can suppress this validation by calling
WithValidation(CommandResultValidation.None)
on the command.额外信息
No response
我确认已更新至最新版本
我确认已查询历史issues
Beta Was this translation helpful? Give feedback.
All reactions