当前位置:网站首页>服务未正常关闭导致端口被占用
服务未正常关闭导致端口被占用
2022-07-06 09:18:00 【Demon Lord(大魔王)】
npm run dev 打开项目效果时,发现出现如下报错,这是提示我们 30005 端口已被占用,解决方法如下:
1. 打开cmd 命令窗口,输入 netstat -ano 命令(查询所有);

2. 在命令行中输入 netstat -ano|findstr 30005 命令,此时可获取 30005 端口对应的 TCP 信息,如下, TCP 号是 7400;
3. 在cmd 输入 taskkill /f /t /im 以及对应的 TCP 号,来关掉被占用的端口;此时可正常使用 npm run dev 访问 30005 端口;
边栏推荐
- Lock wait timeout exceeded try restarting transaction
- Liste des boucles de l'interface graphique de défaillance
- Halcon knowledge: gray_ Tophat transform and bottom cap transform
- MySQL時間、時區、自動填充0的問題
- KF UD分解之伪代码实现进阶篇【2】
- Database table splitting strategy
- [offer78] merge multiple ordered linked lists
- Acwing-116 pilot brother
- (三)R语言的生物信息学入门——Function, data.frame, 简单DNA读取与分析
- (一)R语言入门指南——数据分析的第一步
猜你喜欢

(5) Introduction to R language bioinformatics -- ORF and sequence analysis

What are the advantages of using SQL in Excel VBA

FairyGUI按钮动效的混用

音乐播放(Toggle && PlayerPrefs)

MySQL时间、时区、自动填充0的问题

ORA-02030: can only select from fixed tables/views

Conditional probability

Liste des boucles de l'interface graphique de défaillance

單片機藍牙無線燒錄

Unity场景跳转及退出
随机推荐
JUC forkjoin and completable future
Fabrication d'un sac à dos simple fairygui
地球围绕太阳转
The service robots that have been hyped by capital and the Winter Olympics are not just a flash in the pan
What are the advantages of using SQL in Excel VBA
MySQL replacement field part content
如何给Arduino项目添加音乐播放功能
【干货】提升RTK模糊度固定率的建议之周跳探测
Database table splitting strategy
rtklib单点定位spp使用抗差估计遇到的问题及解决
[Leetcode15]三数之和
Acwing-116 pilot brother
How to add music playback function to Arduino project
FairyGUI条子家族(滚动条,滑动条,进度条)
(core focus of software engineering review) Chapter V detailed design exercises
About using @controller in gateway
Latex learning
MySQL時間、時區、自動填充0的問題
Containers and Devops: container based Devops delivery pipeline
(5) Introduction to R language bioinformatics -- ORF and sequence analysis