如何在自定义端口上运行 Spring Boot 应用程序?

为了在自定义端口上运行 Spring Boot 应用程序,您可以在 application.properties 中指定端口。
server.port=8090

原文地址:https://www.cnblogs.com/Sorry-/p/14035645.html