check ports in use windows 8080 code example Example: check ports in use windows 8080 netstat -aon | findstr 8080 tasklist | findstr