How do I get client IP address in ASP.NET CORE?
Asked 07 September, 2021
Viewed 2.8K times
  • 55
Votes

Can you please let me know how to get client IP address in ASP.NET when using MVC 6. Request.ServerVariables["REMOTE_ADDR"] does not work.

17 Answer