From: miniduikboot Date: Sat, 10 Aug 2024 16:24:21 +0000 (+0200) Subject: Change default ListenIp to match with config X-Git-Tag: v1.10.0~9 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=35c66cda5fa2d301e2ea66af24f447cbc048c6ac;p=rhonda%2Fimpostor.git 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 --- 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;