Make server listen on both IPv6 and IPv4 by default

This commit is contained in:
Alessandro Pizzorni 2024-06-19 00:42:38 +02:00
parent 9a7da3abce
commit 91975865b8

View File

@ -135,7 +135,7 @@ async fn main() {
.long("address")
.value_name("ADDRESS")
.help("Sets address to listen on")
.default_value("0.0.0.0")
.default_value("[::]")
.num_args(1),
)
.arg(