When the jar present in class path, and when the application it automatically configures and starts a Tomcat server that is embedded inside this jar.

Contents

As you see in above example, Tomcat server started with default port number 8080, if you want to change the port number, you can suply server.port property in different ways.