diff --git a/src/backends/unix/network.c b/src/backends/unix/network.c index 93b8449f..d99b2663 100644 --- a/src/backends/unix/network.c +++ b/src/backends/unix/network.c @@ -829,7 +829,7 @@ NET_Socket(char *net_interface, int port, netsrc_t type, int family) if (!net_interface || !net_interface[0] || !Q_stricmp(net_interface, "localhost")) { - Host = (family == AF_INET6) ? "::1" : "0.0.0.0"; + Host = (family == AF_INET6) ? "::/0" : "0.0.0.0"; } else { diff --git a/src/backends/windows/network.c b/src/backends/windows/network.c index 8ffdce2c..b39ace98 100644 --- a/src/backends/windows/network.c +++ b/src/backends/windows/network.c @@ -821,7 +821,7 @@ NET_IPSocket(char *net_interface, int port, netsrc_t type, int family) if (!net_interface || !net_interface[0] || !stricmp(net_interface, "localhost")) { - Host = (family == AF_INET6) ? "::1" : "0.0.0.0"; + Host = (family == AF_INET6) ? "::/0" : "0.0.0.0"; } else {