Question: Which property can be used to change the port of a Spring application?

  1. Port
  2. spring.port
  3. spring.settings.port
  4. server.port

Answer: The correct answer of the above question is Option D:server.port