项目场景:
springboot
问题描述
Identify and stop the process that’s listening on port 8080 or configure this application to listen
原因分析:
端口号冲突
解决方案:
杀死当前端口号进程或者修改端口号。
cmd命令行模式查找当前使用该端口的进程:
netstat -ano|findstr 8080
杀死该进程:
taskkill /F /PID xxxx
修改配置文件中端口号:
server:
port: 8008