Skip to content

Amritpal Singh

  • About

kill

December 24, 2017December 24, 2017 admin

Kill a process running on particular port in Linux

To list any process listening to the port 8080:

lsof -i:8080

To kill any process listening to the port 8080:

kill $(lsof -t -i:8080)

or more violently:

kill -9 $(lsof -t -i:8080)

Source: https://stackoverflow.com/a/32592965/7651641

Enter your email address

Recent Posts

  • Comparison of reading IfcGloballyUniqueId from IFC in different OS
  • Git commands
  • Kill a process running on particular port in Linux
  • Deploy/Run a Django app with Apache and Gunicorn in Ubuntu
  • Deploy/Run a Django app with Nginx, Gunicorn and Supervisor in Ubuntu

Recent Comments

  • maillot de foot on Solving Differential Equation Representing Simple Harmonic Motion in SageMath
  • Elizabet Alward on Solving Differential Equation Representing Simple Harmonic Motion in SageMath
  • Jude Soloman on Solving Differential Equation Representing Simple Harmonic Motion in SageMath
  • Irina Ledec on Solving Differential Equation Representing Simple Harmonic Motion in SageMath
  • Harmanpreet Singh on Export drawing sheets of FreeCAD into PDF and SVG format from Python console – Done

Archives

  • March 2019
  • December 2017
  • November 2017
  • July 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • September 2016
  • July 2016
  • June 2016
  • March 2016
  • February 2016
  • December 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015

Archives

Recent Posts

  • Comparison of reading IfcGloballyUniqueId from IFC in different OS
  • Git commands
  • Kill a process running on particular port in Linux
  • Deploy/Run a Django app with Apache and Gunicorn in Ubuntu
  • Deploy/Run a Django app with Nginx, Gunicorn and Supervisor in Ubuntu
  • About