Dirección IP de Express Req

const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
Obedient Oyster