From f7450bce7fb905cc983d66ab8694737153ca6b47 Mon Sep 17 00:00:00 2001 From: Milky0217 Date: Tue, 21 Oct 2025 10:07:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=8F=AA=E7=9B=91=E5=90=AC=E6=9C=AC=E5=9C=B0=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9cee7f1..d376a14 100644 --- a/src/main.rs +++ b/src/main.rs @@ -656,7 +656,7 @@ async fn main() -> std::io::Result<()> { // 使用&ports创建引用迭代器,而不是获取所有权 for port in &ports { - let addr = format!("0.0.0.0:{}", port); + let addr = format!("127.0.0.1:{}", port); info!("Trying to bind to {}", addr); // 为每个服务器创建克隆的连接池和HTTP客户端