Page 1 of 1

find what process using what ip

Posted: Sat Jul 20, 2024 11:22 am
by zemerdon
You can run lsof -n|grep TCP to know which programs are connecting to which IPs.

Code: Select all

watch "lsof -n|grep -e TCP -e UDP |grep -v -e apache2 -e mariadb" | tee -a ports.txt