nodejs获取客户端ip
摘要:
1、nodejs //传入请求HttpRequest function getClientIp(req) { return req.headers['x-forwarded-for'] || req.connection.remoteAddress || req.socket.remoteAddre 阅读全文
posted @ 2020-01-07 17:49 wenbin_ouyang 阅读(1053) 评论(0) 推荐(0) 编辑