Introduction
Spring Boot initial project (which is generated from spring starter) project comes with an embedded server i.e tomcat. The default port of embedded tomcat is 8080
. Changing the default port for the embedded server has multiple ways. Let's find out how.
Using property files
The easiest way to customize Spring Boot embedded server port is by overriding the values of the default properties.