Home > Web Front-end > JS Tutorial > How to shut down the node process under Windows (command version)

How to shut down the node process under Windows (command version)

青灯夜游
Release: 2021-02-03 18:45:25
forward
4934 people have browsed it

This article will introduce to you how to close the node process under Windows. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How to shut down the node process under Windows (command version)

Related recommendations: "nodejs Tutorial"

Close the node process

1. Open the cmd command panel (window r) and enter cmd

2. Check the port occupancy and port, (assuming we want to kill port 3000) enter the command: netstat --ano;

You will see the figureHow to shut down the node process under Windows (command version)

We find the last number corresponding to the 3000 port, which is the number '8276 marked with the red box in the figure '

3. Continue to find the process name corresponding to port 3000. Enter the command: tasklist|findstr "8276";

You will see the following figure:

How to shut down the node process under Windows (command version)

4. To kill the port, enter the command: taskkill /f /t /im node.exe;

How to shut down the node process under Windows (command version)

Summary: The previous three steps are all In order to find out the name of the process corresponding to the port, if you know the name of the process, then directly follow the fourth step to execute the command

For more computer programming related knowledge, please visit:Introduction to Programming! !

The above is the detailed content of How to shut down the node process under Windows (command version). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template