在尝试用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