SpringBoot项目如何更改端口号? 找到SpringBoot项目的src->main->resources->application.properties 打开application.properties文件,在server.port那里输入新的端口号即可