change port number in application property insead yml file code example Example: change port number in sts server.port=8081