-
It's possible to get this from forwarded headers, but I think we should have this too. The res.getRemoteAddress is not accurate. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
You already have res.getRemoteAddress(), it returns the IP address in either 4 or 16 bytes ArrayBuffer |
Beta Was this translation helpful? Give feedback.
-
This never returns the correct client address for me. |
Beta Was this translation helpful? Give feedback.
-
If you use this |
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure it is correct right now |
Beta Was this translation helpful? Give feedback.
-
res.getRemoteAddressAsText() |
Beta Was this translation helpful? Give feedback.
res.getRemoteAddressAsText()