Answers for "netstat command to check port windows"

5

linux query port use by pid

$ sudo netstat -nlp | grep :80
tcp  0  0  0.0.0.0:80  0.0.0.0:*  LISTEN  125004/nginx
Posted by: Guest on June-13-2020
0

netstat -anp | grep :80 | wc -l

netstat -ant | egrep '(:80|:443) .*:.*ESTABLISHED' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c
Posted by: Guest on May-13-2020

Code answers related to "netstat command to check port windows"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language