check port 8080 on windows 10 code example Example: check ports in use windows 8080 netstat -aon | findstr 8080 tasklist | findstr <PID>