majianyu
10/6/2018 - 5:46 PM

lsof

lsof -ni | grep -E 'LISTEN|PID'
lsof -iTCP -sTCP:LISTEN -nP
lsof -i tcp:80