Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nov21b
on Aug 20, 2024
|
parent
|
context
|
favorite
| on:
How can I retrieve the public IP of a user using N...
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: