diff --git a/deploy.sh b/deploy.sh index 8958c8c..91be69c 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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 "正在上传文件..." diff --git a/src/main.rs b/src/main.rs index b67e2c9..9cee7f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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> + Unpin>>, > = None;