How to get "Client IP address" in plugin.
-
@baris
Thanks For the reply,
But it always give me 'IP: 127.0.0.1'
req:
{ ip: '127.0.0.1',
host: 'localhost:4000',
protocol: 'http',
secure: false,
.....In my plugin I have used 'action:post.save' hook.
So, How can I get 'Browser IP address' in this hook ?Thanks!!
Copyright © 2024 NodeBB | Contributors