why do i get an ipv6 address when doing req.ip with express js code example
Example: express req ip address
const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;