var test1 = HttpContext.Features.Get(); var test2 = HttpContext.Connection.RemoteIpAddress;
When running the applicat
That is because of you are trying to connect from localhost. If you have another computer in same LAN, try to connect with this pc but use user ip instead of localhost.