Узел JS Get IP
import ip from "ip"
console.dir ( ip.address() );
Ugliest Unicorn
import ip from "ip"
console.dir ( ip.address() );
//In your request object there is a property called connection,
//which is a net.Socket object. The net.Socket object has a property
//remoteAddress, therefore you should be able to get the IP with this call:
request.connection.remoteAddress