This commit is contained in:
rustdesk
2023-02-08 16:00:12 +08:00
parent 33f54ba5aa
commit 7e307a5a1c
11 changed files with 19 additions and 21 deletions

View File

@@ -93,7 +93,7 @@ impl RendezvousServer {
#[tokio::main(flavor = "multi_thread")]
pub async fn start(port: i32, serial: i32, key: &str, rmem: usize) -> ResultType<()> {
let (key, sk) = Self::get_server_sk(key);
let addr = format!("0.0.0.0:{}", port);
let addr = format!("0.0.0.0:{port}");
let nat_port = port - 1;
let ws_port = port + 2;
let pm = PeerMap::new().await?;