req.ip
Contains the remote IP address of the request.
When the trust proxy
setting does not evaluate to false
, the value of this property is derived from the left-most entry in the X-Forwarded-For
header. This header can be set by the client or by the proxy.
req.ip // => "127.0.0.1"
Please login to continue.