This is the remote address class. It contains information about the remote address. The remote address that was used by the client.
This function will return the IP address used by the client.
req.remote().address();
// -> will return the client IP
This function will return the family of the IP that was returned by the client.
req.remote().family();
// -> will return the family of the client IP
This function will return the port used by the client.
req.remote().port();
// -> will return the client port