RT
req.connection.remoteAddress
本地获取到的IP是:ffff: 127.0.0.1
req.header(‘x-forwarded-for’) || req.ip x-forwarded-for 用于nginx代理转发的情况下