当前位置:网站首页>[port 3000 is already in use, solution to the problem of 3000 port being occupied]
[port 3000 is already in use, solution to the problem of 3000 port being occupied]
2022-07-19 14:45:00 【A passing rookie】
Use cmd Command to release the occupied port
Passed today npm run dev start-up express when , Yes 3000 The port has been used , After thinking for a while, it should be that when exiting before, you directly clicked “x” Shut down the terminal , Not through ctrl+c Caused by the end of service .
Error message :
First win+R Input cmd Click ok , Get into cmd Command window :
Then input :netstat -ano|findstr "3000" press return , The... Of the occupied port will be displayed PID Number , What I'm showing is “2768”.
End now 2768 This process inputs :taskkill -pid 2768 -f
Finally, start again express You can make it The start command may be different Some may be npm start, What is it Look at the back end pakege.json in Code for 
You can also see pid Right click – The end of the process
边栏推荐
- Huawei wireless device configuration intelligent roaming
- Labview32-bit and 64 bit compatibility
- 优秀的jar包启动shell脚本收藏
- 智康护物业养老服务方案
- keystore文件里PrivateKeyEntry错误配置导致TLS连接失败
- Display module in pyGame
- 4某公司在6个城市c1,c2,c3…c6中有分公司,已知城市ci到cj(I,j=1,2,3,…6)的联通情况下及费用的大小列于以下带权邻接矩阵中C中
- Redis source code and design analysis -- 1 Simple dynamic string
- MySQL index (III)
- js刷题练习---牛客网
猜你喜欢

Configure spectrum navigation for Huawei wireless devices

Keil环境下STM32定位hardfault位置方法和遇到的情况

dba

Deployment 原理

ospf 附录 防环 重发布

Wechat applet -- wxss template style

The manual is not complete. How to manually dig out the monitoring information of tongweb?

Unveil the mystery of service grid istio service mesh

The bill module of freeswitch

滑动窗口最大值问题
随机推荐
Sliding window maximum problem
Redis source code and design analysis -- 1 Simple dynamic string
Encrypt Ogg users
Database SQL Server
ClassNotFoundException:com.tongweb.geronimo.osgi.locator.ProviderLocator
TDesign 在 vitest 的实践
慎用TongWeb的热部署功能
函数初认识-下
SQL相关的时间日期类型
抽象類與派生類
Explain C language dynamic memory management in detail
Matplotlib draw multi line graph (solve the problem that Matplotlib Chinese cannot be displayed)
Manuel incomplet, comment tracer manuellement l'information de surveillance de tongweb?
The TLS connection failed due to the incorrect configuration of privatekeyentry in the keystore file
同一宿主机不同容器网络通信流程分析
Which company is better in data filling and report presentation? Yixin ABI gives you the answer
Unveil the mystery of service grid istio service mesh
JVM performance optimization
Analysis of network communication flow of different containers on the same host
Use tongweb's hot deployment function with caution