当前位置:网站首页>Node stepping on the pit 80 port is occupied
Node stepping on the pit 80 port is occupied
2022-08-11 06:34:00 【Sherry Shen】
An error occurred
Workaround:
1. Change the port number
The easiest way is definitely to modify the port number directly in the program.I modified to 81, 89, etc., the program can run.
2. Find the occupancy of the port number
Learn from the big brother's practicePort 80 in node.js is occupied
There is also the practice of the bossnode.js error solution throw er; // Unhandled 'error' event
Note
1. Our port number here is 80, soUse netstat -aon|findstr "80"
2. And tasklist|findstr "80"
3. The shortcut key to open the task manager is Ctrl+Shift+Esc
4. The task explorer does not haveIf the Pid value is displayed, set it in the header and it will be displayed.
边栏推荐
猜你喜欢
随机推荐
js learning advanced BOM part (pink teacher notes)
USB中用NRZI来编码数据
Day 68
USB in NRZI to encode the data
umi约定式路由规则修改
产品经理人物推荐
C language implementation guess Numbers (with source code, can be directly run)
红外线应用-红外遥控
SWOT分析法
OpenMLDB v0.5.0 released | Performance, cost, flexibility reach new heights
Day 71
ARM 汇编指令 ADR 与 LDR 使用
使用adb命令管理应用
Asp doNet Mvc4绑定js脚本用法
贡献者任务第三期精彩来袭
C语言实现猜数字(附带源码,可直接运行)
C语言的编译
编译异常解决
STM32 基于固件库的工程模板的建立
JS advanced web page special effects (pink teacher notes)