Go4Hosting
https://go4hosting.in/forum/

check the connections from an IP to port Dedicated server?
https://go4hosting.in/forum/viewtopic.php?f=5&t=23582
Page 1 of 1

Author:  Karthik Tiwary [ Wed Sep 02, 2015 3:56 pm ]
Post subject:  check the connections from an IP to port Dedicated server?

How can I check the number of connections from an IP to a port on my Dedicated server?

Author:  Ryan Chel [ Fri Sep 04, 2015 1:02 pm ]
Post subject:  Re: check the connections from an IP to port Dedicated serve

In the first, you need to login to the Dedicated Server as root user via SSH. After that, type the below listed command to view the number of connections the selected IP address has made to your Dedicated server on the certain port-
netstat -plan|grep :PORT|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 |grep IP_ADDRESS

Now, replace PORT and IP address with the right values to get the appropriate information about the number of connections this IP address has made to your server.

Page 1 of 1 All times are UTC + 5:30 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/