title: Spring boot server port range setting
body: <p>Is it possible to set an acceptable range for the server.port in the application.yml file for a spring boot application.</p>
  
  <p>I have taken to setting server.port=0 to get an automatically assigned port rather than a hard coded one.</p>
  
  <p>Our network ops people want to restrict the available range for this port assignment.  </p>
  
  <p>Any idea?</p>