req.connection.remoteAddress, req.headers[\'x-forwarded-for\'], req.ip, req.ips, what does it all mean?
Is there a straight forward way to simply get the IP address
very simple
function getClientIP(req){ return req.headers['x-forwarded-for'] || req.connection.remoteAddress; }