June 22, 2020

Kill process using shortcut in command prompt in windows OS

Problem: When we get a message that port 8080 already in use then it becomes very difficult to use the same port for different processes.

Solution: Just run the below commands in command prompt and whoop! magic happens. 
Follow the screenshot for the reference.

Sample commands:
netstat -ano | findstr :8080 (replace 8080 with your port)
taskkill /F /PID 11237 (replace 11237 with your pid)

A sample screenshot is for port 8088

0 comments:

Disclaimer

We shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its response or damage to your system. We do not guarantee that the integrity or security of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. Anyone communicating with us by email accepts the risks involved and their consequences. We accept no liability for any damage caused by any virus transmitted by this site.