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