I have two apps, one front end (react.js) and one a REST API back-end(nest.js based on express.js). How do I get the IP address of the user accessing the back-end when the front-end client makes a request to the back-end?
I checked this question and try the solutions
With separate client and server apps, how do I get a user's IP address, in Node with Koa?
Express.js: how to get remote client address
but I get server IP of front-end not client IP.
Is there a way without any change in front-end app, I get real client IP in nest.js?