how to know which port is used by an application code example Example: find out process using port windows netstat -ano | findstr 8080