The Netstat.exe utility has a switch, that can display the process identifier (ID) that is associated with each connection to identify port conflicts. This information can be used to determine which process (program) listens on a given port.
Using Netstat command:
- Open a CMD prompt
- Type in the command: netstat -ano -p tcp
- You’ll get an output similar to this one
- Look-out for the TCP port in the Local Address list and note the corresponding PID number