Change default port to 8989
This commit is contained in:
parent
7803aeab02
commit
7d56d094f1
|
@ -21,7 +21,7 @@ pub fn listen_client(server_sender: SP) -> io::Result<()> {
|
||||||
async fn connect_to_client(server_sender: SP) -> io::Result<()> {
|
async fn connect_to_client(server_sender: SP) -> io::Result<()> {
|
||||||
let addr = env::args()
|
let addr = env::args()
|
||||||
.nth(1)
|
.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?;
|
let listener = TcpListener::bind(&addr).await?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue