赞
踩
启动SpringBoot项目后发现启动失败,控制台输出以下内容
Description: The Tomcat connector configured to listen on port 8100 failed to start. The port may already be in use or the connector may be misconfigured. Action: Verify the connector's configuration, identify and stop any process that's listening on port 8100, or configure this application to listen on another port.'
端口号已被占用
打开命令窗口,输入netstat -ano| 8100
,查看占用端口的进程的pid
这里是3184,因此将进程杀死就可以了。
Windows 下杀指定进程taskkill -F /pid 3184
再次启动,运行成功。或者不用杀掉进程,替换这个端口也行!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。