Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 414 Bytes

File metadata and controls

22 lines (15 loc) · 414 Bytes

req.ip

Purpose

The IP address of the client who sent this request (req).

If the trust proxy option is disabled, this is the "remote address". Otherwise, if trust proxy is enabled, this is the "upstream address".

Usage

req.ip;

Example

req.ip;
// -> "127.0.0.1"