指定启动端口

application.properties文件中配置:

  1. server.port=<端口>

image.png