I've created a nodejs app to test getting client ip behind of loadbalancer and I got this result:
~# node tcp.js
TCP Server is running on port 7070.
CONNECTED: 127.0.0.1:35122
DATA 127.0.0.1: PROXY TCP4 214.12.133.55 172.18.0.3 46984 21
I need to get the client ip (214.12.133.55)
I used to get it by:
connection.log.fields.ip
But now I don't know how can I get client ip.
Do you have any solution?