It is common in Node.js and other languages to run a script on a certain port. Since ports can come in and out of use, it's also common to get the ...
For further actions, you may consider blocking this person and/or reporting abuse
neat. that happens more often than we'd wanted to.
btw, i usually do
sudo kill -9 $(sudo lsof -t -i:3000)
to get the job done real quick.Nice, that's a pretty simple way of doing it
Sounds a bit pointless, given how linux already has the right tools for the job 🤔
yeah I don't think you need a separate package for it either really. I guess it's just a wrapper for the basic linux commands.
It's a lot of code for what could essentially be a one-liner though 😐
Unless many of your servers are running windows, it doesn't just sound pointless, but actually is.
Good tip.
Nice. I wrote a small CLI tool to help you also do this. Cross platform ofc.
npmjs.com/package/kill-port-process
Thanks