Let me first introduce to you that the node process running in the Linux system cannot kill the process. The specific content is as follows: events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:901:11) at Server._listen2 (net.js:1039:14) at listen (net.js:1061:10) at Server.listen (net.js:1127:5) at EventEmitter.listen (/root/webServer/node_modules/express/lib/application.js:618:24) at Object.<anonymous> (/root/webServer/express.js:46:5) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) Previously, I opened a port 8888 and it was accessible. Later, I killed the shell, but 8888 was still accessible. Then restart the service on port 8888 Reported the above error Solution: Knowledge point extension: Linux kills/starts the node process Kill node process in Linux Linux starts the node project sudo nohup node xxx.js sudo nohup node xxx.js > xxx.txt 2>&1 & Summarize The above is the editor's introduction to solving the problem of running the node process in the Linux system but not being able to kill the process. I hope it will be helpful to everyone. Thank you very much for your support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Vue uses GraphVis to develop an infinitely expanded relationship graph
>>: How to manually install MySQL 5.7 on CentOS 7.4
This article shares the specific code of vue echa...
CSS3 Patterns Gallery This CSS3 pattern library s...
A few days ago, I exchanged some knowledge about ...
Mini Program Data Cache Related Knowledge Data ca...
Copy code The code is as follows: <html> &l...
mysql query data from one table and insert it int...
Table of contents js deep copy Data storage metho...
Introduction Based on docker container and docker...
This article will discuss these 4 principles as t...
I'll record my first attempt at vue3.0. When ...
Recently, when I was doing a practice project, I ...
Phrase elements such as <em></em> can ...
Sometimes we need to remotely run programs on the...
Preface When introducing defineProperty before, I...
I have been making websites for a long time, but I...