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

    
 

Comments

Popular posts from this blog

Hibernate: a different object with the same identifier value was already associated with the session

BeanDefinitionStoreException: Failed to parse configuration class: Could not find class [javax.jms.ConnectionFactory]