diff --git a/src/backends/unix/network.c b/src/backends/unix/network.c index 3cb5aa60..93b8449f 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) ? "::" : "0.0.0.0"; + Host = (family == AF_INET6) ? "::1" : "0.0.0.0"; } else {