修改了端口

This commit is contained in:
2025-10-21 09:28:42 +08:00
parent a99fb905ec
commit 9e76976a56
2 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ fi
# 编译项目(如果需要)
echo "正在编译项目..."
#cargo build --release --target x86_64-unknown-linux-gnu
cargo build
cargo build --release --target x86_64-unknown-linux-gnu
#cargo build
# 上传文件
echo "正在上传文件..."

View File

@@ -648,7 +648,7 @@ async fn main() -> std::io::Result<()> {
info!("Attempting to start server...");
// 尝试多个端口
let ports = vec![443, 8443, 8080, 3000, 8000, 8888];
let ports = vec![4433, 8443, 8080, 3000, 8000, 8888];
let mut server: Option<
Pin<Box<dyn std::future::Future<Output = std::io::Result<()>> + Unpin>>,
> = None;