I have often encountered this issue while trying to run tomcat on port 8080. I get an error saying that the port is already being used by another process.
Below is the command that I used to kill that process:-
Step 1 : Find the process that is using this port.
netstat -ano | find "8080" This command searches for the process listening to the port 8080.
Step 2 : Kill the process
I found that in my case the process with PID 22300 is listening to the 8080 port.
To kill this process use taskkill /PID 22300 /F
No comments:
Post a Comment