diff --git a/lib/src/service.rs b/lib/src/service.rs index a85518cf..4965f4e0 100644 --- a/lib/src/service.rs +++ b/lib/src/service.rs @@ -92,7 +92,7 @@ impl ViceroyService { .await .unwrap(); - let addr = SocketAddr::new(IpAddr::V4(std::net::Ipv4Addr::new(127, 0, 0, 1)), 7879); + let addr = SocketAddr::from(([127, 0, 0, 1], 7879)); println!("https listening on {}", addr); axum_server::bind_rustls(addr, config) .serve(self)