How to ckeck which process is using a TCP port ?

You can use netstat commands to determine what process is using a port on the Windows Server.

The following command will show what network traffic is in use at the port level:

Netstat -a -n -o -b

The -o parameter will display the associated process identifier (PID) using the port
The -b parameter will display the associated executable