Quantcast
Viewing all articles
Browse latest Browse all 37

How to terminate application running in background

At times an application do not stop properly and keep running in background, occupying  port.

Step 1: Identify the TCP process id binding to a specific port
$>netstat -ano | find "8080"

TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 28268
TCP [::]:8080 [::]:0 LISTENING 28268

Step 2: Kill the process
$>taskkill /F /PID 28268



Viewing all articles
Browse latest Browse all 37

Trending Articles