springboot2.0应用启动报错

2019-07-25 10:45:31 浏览数 (4)

在尝试用80端口启动springboot应用时,console报错如下:

代码语言:javascript复制
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.

经排查,80端口并没有被占用,后来在StackOverflow上得知普通用户无法使用1024以下的端口号

文中也提供了几种解决方法

1 人点赞