运行jar包时指定端口

java -jar xxx.jar --server.port=8080

 

posted on 2019-12-09 15:28  小油2018  阅读(3316)  评论(0编辑  收藏  举报