Answers for "node js close port programatically"

2

How to kill Nodejs Port

npx kill-port 3000
Posted by: Guest on May-23-2021
0

how to release a server port (kill) in nodejs

lsof -i tcp:3000
//look under PID, the number that appears is the process you want to kill. You can do so as shown bellow. Make sure you remove the '<>'
kill -9 <number>
Posted by: Guest on August-27-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language