Configure Port for a Spring Boot Application code example Example: change port number in sts server.port=8081