1. 程式人生 > >springboot2.0應用啟動報錯

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以下的埠號

文中也提供了幾種解決方法