Skip to content

Instantly share code, notes, and snippets.

@thebapi
Last active August 29, 2015 13:58
Show Gist options
  • Save thebapi/10027285 to your computer and use it in GitHub Desktop.
Save thebapi/10027285 to your computer and use it in GitHub Desktop.
Find a process using the port number and kill the process
lsof -i :<port_no>
#Get the processId
kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment