Checking which application is using a port in Windows
Checking which application is using a port in Windows
How to check if a port is opening or not or which application is using it.
Firstly, open Command Prompt by pressing Windows + R then type cmd then hit Enter
Step 1: Checking which port is opening and see what is it’s PID
netstat -aon
or if you know the port already
netstat -aon | findstr 3306
Step 2: Checking which application is that PID
In my case, i want to check which application is using port 3306 and it has PID: 5724
tasklist | findstr 5724
That’s it, mysql is using port 3306
P/S: Kill process by PID
taskkill /PID 5724 /f