Skip to content

Commit 087c1f0

Browse files
committed
Cleanup
1 parent 3dda83d commit 087c1f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/sui/src/sui_commands.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,8 @@ fn socket_addr_to_url(addr: SocketAddr) -> Result<Url, anyhow::Error> {
18551855
.with_context(|| format!("Failed to parse {addr} into a Url"))
18561856
}
18571857

1858-
/// Resolves an unspecified ip address to a localhost IP address.
1858+
/// Resolves an unspecified ip address to a localhost IP address. Particularly on Windows, clients
1859+
/// cannot connect to 0.0.0.0 addresses.
18591860
fn normalize_bind_addr(addr: SocketAddr) -> IpAddr {
18601861
match addr.ip() {
18611862
IpAddr::V4(v4) if v4.is_unspecified() => IpAddr::V4(Ipv4Addr::LOCALHOST),

0 commit comments

Comments
 (0)