title: How do I get client IP address in ASP.NET Core?
body: <p>Can you please let me know how to get client IP address in ASP.NET when using MVC 6.
  <code>Request.ServerVariables[&quot;REMOTE_ADDR&quot;]</code> does not work.</p>