当前位置:网站首页>[node] the service port is occupied error: listen eaddinuse: address already in use::: 9000- how to close the port started by node
[node] the service port is occupied error: listen eaddinuse: address already in use::: 9000- how to close the port started by node
2022-07-25 05:54:00 【Uninstall engine】
Problem description
Record once node Problems encountered during project startup :koa2 After starting the project , Use ctrl+c Abort the code , But when running again, the sending port is occupied .
The error information is as follows :
Error: listen EADDRINUSE: address already in use :::9000
terms of settlement
The solution is to 9000 The program running on the port is killed .
1. function cmd:
【win】+ r ( function )--> cmd
2. Go to the specified directory
cmd Input in
cd c:\Windows\System32
3. You can view all ports to get PID
netstat -ano

4. You can also use the port to accurately locate and obtain PID
More convenient
netstat -ano|findstr 9000
Get the last column PID, here pid by 11588
5. Kill the running program
taskkill /pid 11588
If the execution must be forcibly terminated , add to /F Options
taskkill /F /pid 11588

6. Rerun
Run the program again, and the port occupation will not be displayed
边栏推荐
- Unity Animator动画与状态机
- PHP warehouse inventory management system source code WMS source code
- 剖析kubernetes集群内部DNS解析原理
- PMP Exam is easy to confuse concept discrimination skills! Don't lose points after reading!
- 基于ISO13209(OTX)实现EOL下线序列
- 新时代生产力工具——FlowUs 息流全方位评测
- HTB-Beep
- Leetcode 0122. the best time to buy and sell stocks II
- R language uses LM function to build multiple linear regression model and write regression equation according to model coefficient
- Analyzing the principle of DNS resolution in kubernetes cluster
猜你喜欢

VO, dto, do, Po distinction and use
![(15)[驱动开发]过写拷贝](/img/1c/68dfff5671add1fe91567e4df34135.png)
(15)[驱动开发]过写拷贝

Sword finger offer 45. arrange the array into the smallest number

剑指 Offer 05. 替换空格

EOL offline sequence based on iso13209 (Otx)

CCID released the "Lake warehouse integrated technology research report", and Jushan database was selected as a typical representative of domestic enterprises

Unity 模型简化/合并 一键式插件

剑指 Offer 45. 把数组排成最小的数
![50: Chapter 5: develop admin management service: 3: develop [query whether the admin user name already exists, interface]; (this interface can only be called when logging in; so we have written an int](/img/1b/b8529b6f1d163a9e5d5dad2b78ce93.png)
50: Chapter 5: develop admin management service: 3: develop [query whether the admin user name already exists, interface]; (this interface can only be called when logging in; so we have written an int

编程大杂烩(一)
随机推荐
Microservices and related component concepts
基于ISO13209(OTX)实现EOL下线序列
Matlab drawing example: 5: Biaxial graph
Switch NPM source to private source library
Leetcode/ number of 1 in the first n digit binary
Programming hodgepodge (I)
Microservice configuration center Nacos
Concepts of phase velocity and phase in transmission line theory
Why is it that all the games are pseudorandom and can't make true random?
QT qtextedit setting qscrollbar style sheet does not take effect solution
C100: smallest hevc visual IOT MCU
R language uses LM function to build multiple linear regression model and write regression equation according to model coefficient
HTB-Arctic
Talk about how redis handles requests
Siggraph 2022 -- rendering iridescent rock dove neck feathers
Amazoncaptcha 95%成功率绕过亚马逊IP验证码
(14)[驱动开发]配置环境 VS2019 + WDK10 写 xp驱动
Bug --- redis deserialization failed
[ultra detailed diagram] FPN + mask RCNN
Promise implementation