***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 80 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 80, or configure this application to listen on another port.
端口被占用了,解决方案:1、杀掉占用进程 2、更换端口
1、杀掉占用进程,参考:
https://blog.youkuaiyun.com/q343509740/article/details/80821409
2:、更换端口



这是idea启动项目时,重写了spring.tomcat的参数,还有一种方法,在配置文件中重写:
找到任意*.yml文件,写入server.port=8888,ide会自动格式化


本文介绍了解决端口80被占用的问题,提供了两种方案:一是查找并结束占用端口的进程,二是更改应用监听的端口。同时,给出了具体的操作步骤和修改配置文件的方法。

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



