[email protected] +91-120-6025102

Go4hosting
FORUM

Go4hosting offers top-notch services, such as dedicated server hosting, VPS hosting, Co- location,Web hosting,
Email hosting, and Cloud Computing solutions. All the services offered by Go4hosting are efficient, reliable,
andcost-effective. , remaining essentially unchanged.

It is currently Thu Apr 09, 2020 8:28 pm

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Sep 02, 2015 3:56 pm 
Offline

Joined: Wed Sep 02, 2015 3:55 pm
Posts: 3
How can I check the number of connections from an IP to a port on my Dedicated server?


Top
 Profile  
 
PostPosted: Fri Sep 04, 2015 1:02 pm 
Offline

Joined: Fri Sep 04, 2015 12:59 pm
Posts: 3
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: