运行jar包时指定端口

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

 

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