idea 运行项目时报错:
Identify and stop the process that's listening on port 8099 or configure
原因:
端口被占用
解决方法:
1.windows+r ,输入cmd,打开命令行窗口

2.输入命令,
1)netstat -ano | findstr 8099 查看端口是否被占用
2)taskkill /F /PID 3016 终止对应PID的进程

博客主要讲述了Idea运行项目时出现端口被占用的报错情况。原因是端口8099被占用,解决方法为通过Windows命令行,先使用netstat -ano | findstr 8099查看端口占用情况,再用taskkill /F /PID 3016终止对应进程,最后重新运行项目。
Identify and stop the process that's listening on port 8099 or configure
端口被占用

1)netstat -ano | findstr 8099 查看端口是否被占用
2)taskkill /F /PID 3016 终止对应PID的进程

1万+
3302
1294
910
2万+

被折叠的 条评论
为什么被折叠?