当前位置:网站首页>服务未正常关闭导致端口被占用
服务未正常关闭导致端口被占用
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 端口;
边栏推荐
- Easy to use shortcut keys in idea
- 单片机蓝牙无线烧录
- Fairygui loop list
- By v$rman_ backup_ job_ Oracle "bug" caused by details
- The service robots that have been hyped by capital and the Winter Olympics are not just a flash in the pan
- idea问题记录
- Get the position of the nth occurrence of the string
- 抗差估计在rtklib的pntpos函数(标准单点定位spp)中的c代码实现
- Flink late data processing (3)
- [Offer29] 排序的循环链表
猜你喜欢
Unity3D制作注册登录界面,并实现场景跳转
In 2020, the average salary of IT industry exceeded 170000, ranking first
341. Flatten nested list iterator
CUDA C programming authoritative guide Grossman Chapter 4 global memory
MySQL时间、时区、自动填充0的问题
Unity3D,阿里云服务器,平台配置
音乐播放(Toggle && PlayerPrefs)
Halcon knowledge: gray_ Tophat transform and bottom cap transform
抗差估计在rtklib的pntpos函数(标准单点定位spp)中的c代码实现
ESP8266连接onenet(旧版MQTT方式)
随机推荐
Unity3d camera, the keyboard controls the front and rear left and right up and down movement, and the mouse controls the rotation, zoom in and out
【RTKLIB 2.4.3 b34 】版本更新简介一
Game 280 weekly
GNSS定位精度指标计算
Database course design: college educational administration management system (including code)
音乐播放(Toggle && PlayerPrefs)
[offer9] implement queues with two stacks
Detailed explanation of truncate usage
Unity场景跳转及退出
Unity scene jump and exit
1041 be unique (20 points (s)) (hash: find the first number that occurs once)
Fairygui loop list
Devops' future: six trends in 2022 and beyond
Minio file download problem - inputstream:closed
341. Flatten nested list iterator
About using @controller in gateway
NovAtel 板卡OEM617D配置步骤记录
(一)R语言入门指南——数据分析的第一步
FairyGUI循環列錶
Gateway fails to route according to the service name, and reports an error service unavailable, status=503