How Can You Change the Port Number?
The default port number for starting your Spring Boot application is 8080. If you’d like to change the port number, the easiest and quickest way is to override the value of the default properties by changing the server.port property inside of the application.properties file and restart your application.