当前位置:网站首页>服务未正常关闭导致端口被占用
服务未正常关闭导致端口被占用
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 端口;
边栏推荐
- [offer78] merge multiple ordered linked lists
- 音乐播放(Toggle && PlayerPrefs)
- Unity3d, Alibaba cloud server, platform configuration
- Mysql database index
- Problèmes avec MySQL time, fuseau horaire, remplissage automatique 0
- Acwing-116 pilot brother
- [Offer18]删除链表的节点
- MySQL time, time zone, auto fill 0
- Force buckle 1189 Maximum number of "balloons"
- Mysql database reports an error: row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT=DY
猜你喜欢
(3) Introduction to bioinformatics of R language - function, data Frame, simple DNA reading and analysis
rtklib单点定位spp使用抗差估计遇到的问题及解决
地球围绕太阳转
341. Flatten nested list iterator
NRF24L01 troubleshooting
NRF24L01故障排查
FairyGUI按钮动效的混用
First use of dosbox
Fairygui character status Popup
(四)R语言的数据可视化——矩阵图、柱状图、饼图、散点图与线性回归、带状图
随机推荐
Compilation principle: preprocessing of source program and design and implementation of lexical analysis program (including code)
【干货】提升RTK模糊度固定率的建议之周跳探测
Unity3d makes the registration login interface and realizes the scene jump
First use of dosbox
1041 Be Unique (20 point(s))(哈希:找第一个出现一次的数)
About using @controller in gateway
Unity3d, Alibaba cloud server, platform configuration
Solution to the problem of automatic login in Yanshan University Campus Network
Single chip Bluetooth wireless burning
Unity场景跳转及退出
dosbox第一次使用
(the first set of course design) sub task 1-5 317 (100 points) (dijkstra: heavy edge self loop)
Detailed explanation of truncate usage
[Leetcode15]三数之和
[leetcode622]设计循环队列
Containers and Devops: container based Devops delivery pipeline
(课设第一套)1-4 消息传递接口 (100 分)(模拟:线程)
第一人称视角的角色移动
Database table splitting strategy
Idea problem record