From 6092b94b5de171feeeb5a5b144cc039133e82d37 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Tue, 19 May 2026 10:19:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=A9=E5=B0=8F=E9=9A=8F=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/update_port.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update_port.sh b/bin/update_port.sh index e68be6c..f3fefec 100644 --- a/bin/update_port.sh +++ b/bin/update_port.sh @@ -164,7 +164,7 @@ update_port(){ local port=$1 # 如果没有提供端口参数,则自动查找一个随机空闲端口 if [[ -z "$port" ]]; then - port=$(find_free_port) + port=$(find_free_port 5000 15000) fi modify_json_file "$config_dir/config.json" ".inbounds[0].listen_port" "$port"