Skip to content

container

Change Spring Boot server port

Change Spring Boot server port logo


This tutorial will show you three different ways to change Spring Boot server port from its default 8080 to any other port you like.

The following steps are agnostic to your current Spring Boot’s embedded server, it should not make any difference whether you are using Tomcat, Jetty or Undertow.

Read More »Change Spring Boot server port

Change Spring Boot embedded container

Change Spring Boot embedded container logo


This tutorial will show you show to change Spring Boot embedded container from its default Tomcat, to an alternative Jetty or Undertow.

The project Spring Boot Starter Web ships with Spring MVC and a Tomcat embedded container that at build time, is packaged within the executable jar file of the standalone Spring Boot application, so everything you need to run the application including the web container itself, is included in that jar.

However, you may want to change Tomcat for another container of your choice by whatever it is the reason, so I will going to show the required steps.

Read More »Change Spring Boot embedded container