spring how to add second server port in application.properties file code example Example: change port number in sts server.port=8081