List all IP addresses connected using netstat

If you want to quicly check the number of active connections per IP to port 80, you can use this line:

netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head