开发者社区 问答 正文

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

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

展开
收起
真的很搞笑 2021-10-21 22:49:19 756 分享 版权
1 条回答
写回答
取消 提交回答
  • 为了在自定义端口上运行 Spring Boot 应用程序,您可以在 application.properties 中指定端口。server.port = 8090

    2021-10-21 22:49:37
    赞同 展开评论