netstat -ano displays a list of all occupied ports
netstat -ano | findstr "80" shows the details of port 80 occupation
tasklist | findstr "680" Query which application port is occupied
netstat -ano displays a list of all occupied ports
netstat -ano | findstr "80" shows the details of port 80 occupation
tasklist | findstr "680" Query which application port is occupied