title: how to get ip address of my visitor in node.js
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script type="text/javascript" src="data:application/octet-stream;base64,dXNlcmlwID0gIjcxLjExLjE4OC4xODkiOw=="&gt;&lt;/script&gt;
  &lt;input id=userip type="hidden" &gt;
  &lt;script type="text/javascript"&gt;
    console.log("Your IP is :", userip);
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am trying to get ip of my website's visitors so i can know how many non repeating visitors i have. but i havent have any luck achieving the ip there s people saying ip is no longer available due to privacy or so but i found this code that can at least give me the ip but it s a html script code and i have problems transferring that data or var called userip to my back end so i can send it to my email/database (i so called back end) so i am translating a html script code to a back end code or find a back end code that can replace the script code here is the code:</p>