servidor expresso como obter solicitação IP
const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
RemziStudios
const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;