netstat check port range code example Example 1: netstat find port netstat -na | find "8080" Example 2: netstat check port sudo netstat -plnt