is it possible to get hostname in Node.js?
This is how I get client's IP:
var ip = request.header('x-forwarded-for');
So, how do I get client's hostname?
var hostname = request.header('???');
Thanks for reply!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…