springboot启动报错:Identify and stop the process that s listening on port 9090 or configure...

本文介绍了SpringBoot启动时遇到9090端口被占用的错误,通过CMD使用netstat命令找到占用端口的进程,并使用taskkill命令终止该进程,从而成功启动SpringBoot应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述

springboot启动报错记录:Identify and stop the process that s listening on port 9090 or configure this application to listen on another port.

原因分析:

9090端口被占用

解决方案:

首先打开cmd
在这里插入图片描述
输入命令,查找使用9090的进程号:

netstat -ano | findstr 9090

结果:
在这里插入图片描述
使该进程终止:

taskkill /F /PID 进程号

结果:
在这里插入图片描述
重新启动springboot,可以正常启动了

在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值