title: Using IIS to serve Node/Express API with Reverse Proxy. Problems getting IP client's IP address
body: <p>I have a node application that is being served by IIS. I followed this guide and it its all working perfectly:</p>
  <p><a href="https://dev.to/petereysermans/hosting-a-node-js-application-on-windows-with-iis-as-reverse-proxy-397b" rel="nofollow noreferrer">https://dev.to/petereysermans/hosting-a-node-js-application-on-windows-with-iis-as-reverse-proxy-397b</a></p>
  <p>Im having an issue I understand why its happening with the IP address (because of reverse routing, NODE its tracking 127.0.0.1 instead of the client's IP).</p>
  <p>At Node, Im getting the IP as follows:</p>
  <pre><code>const ipAddress = req.socket.remoteAddress;
  </code></pre>
  <p>Is there a way from Node to identify the IP address that is hitting IIS?</p>
  <p>Thanks.</p>