在尝试用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以下的端口号
文中也提供了几种解决方法
本文解决了一个常见的SpringBoot应用启动问题,当尝试在80端口启动时,遇到“端口可能已被使用”错误。文章揭示了普通用户无法使用1024以下端口的原因,并提供了解决方案,包括验证连接器配置、停止监听80端口的进程或配置应用使用其他端口。
3169

被折叠的 条评论
为什么被折叠?



