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