1.application.properties文件中 #更改程序的启动端口 server.port=8082 2.application.yml文件中 #更改启动端口号 server: port: 8083