springboot 多端口启动

以eclipse(STS)为例, 选中项目右键Run Configurationseclipse

点击Spring Boot App,选中须要设定多端口项目,在启动参数一栏输入:-Dserver.port=7003,点击run就能够以7003启动项目server

 

相关文章
相关标签/搜索