From 35c66cda5fa2d301e2ea66af24f447cbc048c6ac Mon Sep 17 00:00:00 2001 From: miniduikboot Date: Sat, 10 Aug 2024 18:24:21 +0200 Subject: [PATCH] Change default ListenIp to match with config The default ListenIp for the base game server has been set to 0.0.0.0 in config.json for as long as I remember, and a different value is only sporadically used. I remember a case where someone was fancy with Split DNS. 0 is better as a default than localhost, so change the code accordingly to aligh with config.json --- src/Impostor.Api/Config/ServerConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Impostor.Api/Config/ServerConfig.cs b/src/Impostor.Api/Config/ServerConfig.cs index afcca03..85aced7 100644 --- a/src/Impostor.Api/Config/ServerConfig.cs +++ b/src/Impostor.Api/Config/ServerConfig.cs @@ -13,7 +13,7 @@ namespace Impostor.Api.Config public ushort PublicPort { get; set; } = 22023; - public string ListenIp { get; set; } = "127.0.0.1"; + public string ListenIp { get; set; } = "0.0.0.0"; public ushort ListenPort { get; set; } = 22023; -- 2.39.5