NEED SOME HELP
CLICK HERE OR CALL US ON
hosting provider in india 1-800-212-2022
web hosting services in USA 1-888-288-3570
Have questions? Let us answer them all!

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 Fri Apr 19, 2024 4:26 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 3 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: