netstat -ano | findstr :<PORT> bash code example Example: netstat find port netstat -na | find "8080"