diff --git a/crates/rattler_installs_packages/src/index/package_database.rs b/crates/rattler_installs_packages/src/index/package_database.rs index 2f69b1c8..d9b5cf20 100644 --- a/crates/rattler_installs_packages/src/index/package_database.rs +++ b/crates/rattler_installs_packages/src/index/package_database.rs @@ -735,7 +735,7 @@ mod test { async fn make_simple_server( package_name: &str, ) -> anyhow::Result<(Url, JoinHandle>)> { - let addr = SocketAddr::new([0, 0, 0, 0].into(), 0); + let addr = SocketAddr::new([127, 0, 0, 1].into(), 0); let listener = tokio::net::TcpListener::bind(&addr).await.unwrap(); let address = listener.local_addr()?;