title: Spring Boot not obeying command line arguments
body: <p>Put together a very basic Spring Boot RESTful backend with some CRUD endpoints. Trying to start it up on my Centos7 server. However I already have an application listening on its default port, 8080, so I have to configure that.</p>
  
  <p>I have tried: </p>
  
  <p><code>java -jar target/rest-1.0-SNAPSHOT.jar --server.port=8090</code></p>
  
  <p><code>java -jar target/rest-1.0-SNAPSHOT.jar --Dserver.port=8090</code></p>
  
  <p><code>java -jar target/rest-1.0-SNAPSHOT.jar --port=8090</code></p>
  
  <p><code>java -jar target/rest-1.0-SNAPSHOT.jar --Dport=8090</code></p>
  
  <p>My application.properties contains the line:</p>
  
  <p><code>server.port=${port:8090}</code></p>
  
  <p>Spring Boot still starts up the embedded Tomcat container on port 8080. It's not getting the message. What am I missing?</p>
  
  <p>Edit: setting <code>SERVER_PORT=8090</code> was effective - see below</p>