Following commands can give network connections information,
- # netstat -tulpan
- # lsof –i
Command#1 (netstat –tulpan) will give you connections information, but I did not find any way to kill connection after get information from it.
Command#2 (lsof –i) will give you useful connections information and PID of connections as well. You can kill that session using PID.