Fix Windows cargo test (#35)

This commit is contained in:
B.O.S.S
2022-04-21 06:17:14 +02:00
committed by GitHub
parent e25f021505
commit e61362915d
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ impl Server {
return Ok(());
}
info!(?port, "new client");
let listener = match TcpListener::bind(("::", port)).await {
let listener = match TcpListener::bind(("0.0.0.0", port)).await {
Ok(listener) => listener,
Err(_) => {
warn!(?port, "could not bind to local port");