Sep 14, 2018

Check the port associated with a daemon / app

Check the port associated with a daemon / app

sudo -i lsof -i -n -P | grep -i mysql

mysqld 2703 mysql 263u IPv6 2000876 0t0 TCP 192.168.1.191:3306->192.168.1.2:37934 (ESTABLISHED)