diff --git a/Libraries/Core/Servers/HttpServer.cs b/Libraries/Core/Servers/HttpServer.cs index 9147d998..f745bf61 100644 --- a/Libraries/Core/Servers/HttpServer.cs +++ b/Libraries/Core/Servers/HttpServer.cs @@ -96,7 +96,7 @@ public class HttpServer( ? realIp.Value.First() : forwardedFor.HasValue ? forwardedFor.Value.First()!.Split(",")[0].Trim() - : context.Connection.RemoteIpAddress!.ToString().Split(":")[3]; + : context.Connection.RemoteIpAddress!.ToString().Split(":").Last(); if (_httpConfig.LogRequests) {