how to assign different port in spring boot rest code example Example: change port number in sts server.port=8081