This is just a quick snippet to see what is going on with connection on your server. We are checking port 80 in this example but you can replace 80 with whatever port you are checking.
netstat -ant | grep \:80 | awk '{ print $5 }' | awk -F \: '{ print $1 }' | sort | uniq -c | sort -n