Spring Boot change default port 2016-08-23 01:44

The default port in Spring Boot of web application is 8080. There are two ways to change this default port. The first way is to change application.properties file. The second way is to add VM option when start your web application.

change application.properties


add VM option


For configuration of Spring Boot you can click here for more detail.