News for hackers. Stuff that matters.
Re:How can I retrieve the public IP of a user using Node.js? by nov21b on Tuesday August 20, 2024 @10:41AM (#41300529)
req.ip, but also look at the x-forwarded-for header if you are using a proxy server. This header can have multiple ip's when you have say nginx terminate ssl and use cloudflare.

There are no comments on this comment yet.