Programming/Node.JS

지금 현재 서버의 ip를 알고 싶을때

snoohey 2016. 9. 14. 16:08

var ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress