Warning: file_put_contents(/datas/wwwroot/jiajiahui/core/caches/caches_template/2/default/show.php): failed to open stream: Permission denied in /datas/wwwroot/jiajiahui/core/libraries/classes/template_cache.class.php on line 55

Warning: chmod(): Operation not permitted in /datas/wwwroot/jiajiahui/core/libraries/classes/template_cache.class.php on line 56
Windows下查看占用端口号,并关闭占用端口服务 - 源码之家

Windows下查看占用端口号,并关闭占用端口服务

1,首先查询该端口的 pid,使用命令 【netstat -ano | findstr 端口号】

2 , 根据pid查看该详细的进程名称,使用命令【tasklist | findstr pid】

3 ,强制、递归 删除本程序及其子进程,使用命令 【taskkill  -f -t -im 程序名称】

Windows下查看占用端口号,并关闭占用端口服务

--查询端口号
netstat -ano | findstr 8000

--根据pid查询进程名称
tasklist | findstr 3392

--强制、递归、删除本程序及其子进程
taskkill -f -t -im node.exe