private string GetIpAddress() { var ipAddresses = ipUtils.GetIpAddresses(); return(ipAddresses.FirstOrDefault(ipAddress => ipAddress != _127_0_0_1 && ipAddress != Localhost && ipAddress.IndexOf(".", StringComparison.Ordinal) == NotFound)); }