Use application.properties to get the port value.