which application is using this port code example

Example 1: check which application is using port

In Windows CMD/Powershell:
netstat -aon | findstr '[port_number]'

Example 2: wich application is using a port

Checking which application is using a port:
Open the command prompt - start » run » cmd or start » All Programs » Accessories » Command Prompt.
Type netstat -aon | findstr '[port_number]' . ...
If the port is being used by any application, then that application's detail will be shown. ...
Type tasklist | findstr '[PID]' .