springboot2.0应用启动报错

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

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以下的端口号

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

猜你喜欢

转载自my.oschina.net/u/2422458/blog/1933048