spring boot application properties port change code example Example: change port number in sts server.port=8081