-
Notifications
You must be signed in to change notification settings - Fork 7.3k
how to terminate node process #1172
Comments
you have to check Linux process. then, let say the node process id is 12345 % kill 12345 or kill -9 12345 The reason u can't start the server again because it is using the same port. |
An easier way to find this:
should show you all processes matching node. To kill without knowing the
|
You could listen for SIGUSR1 or SIGUSR2 signals and terminate the process correctly.
You can send the signal with:
|
Not a bug but seems to have been resolved anyway. :) |
How to start again node after pkill node? i use this command on ssh
and i don't know about start again that node |
@fatimazbouj this is a PHP questions. Please refer to the PHP docs. Probably something like http://php.net/manual/de/function.proc-get-status.php |
This bug tracker is not the right place for support questions, try https://github.com/nodejs/help/issues. |
I run node server.js in the terminal, then terminal hung, I had to quit terminal.
When I opened the terminal back. I tried to load server.js again, it says add already in use. And the app is still running.
Now I had made some change with server.js, I want to stop the current server, and reload it so the new changes will apply.
How can I terminate the current server.js ?
The text was updated successfully, but these errors were encountered: