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.
[ Parent
| on HN ]
There are no comments on this comment yet.