From 7d56d094f14e810e663e7bee9f2bedca7fa9b2ec Mon Sep 17 00:00:00 2001 From: Horhik Date: Tue, 5 Jan 2021 15:57:35 +0200 Subject: [PATCH] Change default port to 8989 --- src/chat/front_conn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/front_conn.rs b/src/chat/front_conn.rs index 4dcde8e..edb21fe 100644 --- a/src/chat/front_conn.rs +++ b/src/chat/front_conn.rs @@ -21,7 +21,7 @@ pub fn listen_client(server_sender: SP) -> io::Result<()> { async fn connect_to_client(server_sender: SP) -> io::Result<()> { let addr = env::args() .nth(1) - .unwrap_or_else(|| "127.0.0.1:8080".to_string()); + .unwrap_or_else(|| "127.0.0.1:8989".to_string()); let listener = TcpListener::bind(&addr).await?;