SpringBoot|springboot修改默认端口号,启动端口号

在application.yml配置文件中,添加

server: port: 8888

【SpringBoot|springboot修改默认端口号,启动端口号】最好添加在最前面

    推荐阅读