首页 > 文章列表 > idea中同一SpringBoot项目多端口怎么启动

idea中同一SpringBoot项目多端口怎么启动

idea springboot
281 2023-05-13

idea中同一SpringBoot项目多端口怎么启动

现在已经有一个在跑着使用的默认端口 8080

选中1,点击2.这个时候就有两个skyApplication

-Dserver.port=9999

比如这里配置的是9999, 这样配置主要用于测试NGINX

选中运行起来