spring boot设置随机端口

2016-12-24  本文已影响0人  林铭铭

properties配置:
server.port = 0

yml配置:
server:
    port: 0

上一篇 下一篇

猜你喜欢

热点阅读