title: In Asp.Net Core core how to I get the web site's IP address?
body: <p>In web forms if I needed to obtain the website server's IP address (say for logging) I could obtain it from <code>request.ServerVariables["LOCAL_ADDR"]</code></p>
  
  <p>How can it be obtain in Asp.Net Core when running in Kestral behind IIS or IIS Express?  </p>