Spring Boot应用程序-Web服务器无法启动。端口8092已被使用

时间:2020-10-27 08:47:51

标签: java spring spring-boot

启动/重新启动Spring Boot应用程序时,该应用程序在出现错误之前已经在使用的端口上运行:

Web server failed to start. Port 8092 was already in use.

因此,每次启动Spring Boot应用程序时,都必须在server.port中切换application.properties

注意:因为我没有“以“ Spring Boot应用程序”运行”,所以我使用此处提到的解决方法来启动它: 第一个答案,How to run Spring Boot web application in Eclipse itself?

是否有避免每次切换端口的解决方案?

非常感谢!

0 个答案:

没有答案