Report showing number of requests made from each IP address

Hello! I have a use case where I need to know from which IP address a meteor method/subscription is called and would have a report that lists all the IP addresses with the number of requests made to the meteor methods in my Application. Any kind of suggestions, guidance and help would be highly appreciable. Thank you all.

You can see the client address, user agent … by accessing the this.connection variable in method and publication functions.
Remember don’t use arrow function to define method or publication, you will lose the context.

Thank you for your reply @minhna. Do you have any idea if there is any meteor package that could do this - like giving a report with IP address and method call count

1 Like

I don’t know, maybe you can create one.