Spring boot项目默认web项目的端口号是8080,如果需要修改端口号,再application.properties通过server.port指定端口即可。如下图所示,即修改默认端口为8888了