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