var服务器=require('connect').createServer(); //操作。。。 服务器侦听(3000);
EADDRINUSE,地址已在使用中
var服务器=require('connect').createServer(); //操作。。。 服务器侦听(3000);
EADDRINUSE,地址已在使用中
Ctrl+z键
Ctrl+c组合键
pkill节点
pkill节点
sudo lsof-i:3000
杀死-9<PID>
ps aux|grep节点
杀死-9 PID
ps aux | grep节点
textareaserver--editor-cmd='gvim-f'
lsof-n-i4TCP:8000 | grep LISTEN | tr-s“”| cut-f 2-d“”|xargs kill-9
C: \Windows\System32>taskkill/F/IM节点.exe 成功:PID为11008的进程“node.exe”已终止。
lsof-i tcp:3000
命令PID用户FD类型设备尺寸/关闭节点名称 节点5805 xyz 12u IPv6 63135 0t0 TCP*:3000(LISTEN)
杀死-9 5805
sudo-pkill节点
任务列表/O
taskkill/pid pid
taskkill//IM节点.exe
“脚本”:{ “stop-win”:“Taskkill/IM node.exe/F”, “stop-linux”:“killall节点” },
npm运行止动翼 npm运行停止-Linux
npx kill-port 3000
process.on('uncaughtException',(err,origin)=>{ console.log(错误); }); //插入其他处理程序。
ps aux | grep节点 kill-9[PID](由上述命令提供)
sudo lsof-nP-i4TCP:3000|grep LISTEN
php-fpm 110根6u IPv4 0x110e2ba1cc64b26d 0t0 TCP 127.0.0.1:3000(LISTEN) php-fpm 274_www 0u IPv4 0x110e2ba1cc64b26d 0t0 TCP 127.0.0.1:3000(侦听) php-fpm 275_www 0u IPv4 0x110e2ba1cc64b26d 0t0 TCP 127.0.0.1:3000(侦听)
须多杀110
app.listen(3000,函数(){ console.log('在3000上列出') });
命令netstat-ano|findstr“PID:8081”
taskkill/pid 43144/f
netstat-lntp | grep节点
tcp6 0 0:::5744:::*LISTEN 3864/节点
kill-HUP PID