diff --git a/src/server/srv.rs b/src/server/srv.rs index d886d4c59..e219049ba 100644 --- a/src/server/srv.rs +++ b/src/server/srv.rs @@ -697,7 +697,7 @@ fn create_tcp_listener(addr: net::SocketAddr, backlog: i32) -> io::Result TcpBuilder::new_v4()?, net::SocketAddr::V6(_) => TcpBuilder::new_v6()?, }; - builder.bind(addr)?; builder.reuse_address(true)?; + builder.bind(addr)?; Ok(builder.listen(backlog)?) }