在嘗試用80端口啓動springboot應用時,console報錯以下:spring
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如下的端口號springboot
文中也提供了幾種解決方法bash