how to tell what's running on port code example

Example 1: find out process using port windows

netstat -ano | findstr 8080

Example 2: check which application is using port

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

Example 3: find which service is using port

netstat -aon | findstr<port_number>  

 tasklist | findstr 9260

Example 4: top running port

stop running  boort  8080
go to command past this 
netstat -ao |find /i "listening"
look for you port 
TCP    0.0.0.0:8080      machinename:0    LISTENING   12704
then write this 
 Taskkill /F /IM 12704