sudo netstat -tunlp
sudo netstat -tnlp | grep :80
sudo ss -tunlp
sudo lsof -nP -iTCP -sTCP:LISTEN
sudo lsof -nP -iTCP:3306 -sTCP:LISTEN