Knowledgebase: Dedicated Servers
How can I check the number of connections to a port from an IP address?
Posted by Help Desk (6), Last modified by NOC Desk Monitors on 07 August 2018 11:38 AM
You can check to see how many connections there are from each IP address on a specific port by running the following command as root:

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

80 is the port number, you can substitute for the port you wish to check on.
(0 vote(s))
Helpful
Not helpful