Skip to content

splendourhui/killport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

killport

Sometimes our node threads use some port, so we should find out the PID which uses the port and kill it. The small node codes is used to do the simple thing!

You can alias in your .bashrc or .zshrc file like this:

alias killport="node ~/projects/killport/kill.js"

Then kill port like this:

killport 3000

About

kill port which node thread used.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published