Spring Boot Basics

How to change server port in spring boot

How to change server port in spring boot

Ashish Lahoti

Spring boot web application using embedded server by default runs on port 8080. Following are the ways to change default server port from 8080 to say 9090

Follow any of the given five ways to change server port:-

How to disable default banner in spring boot

How to disable default banner in spring boot

Ashish Lahoti

You would have seen below spring boot banner when starting a spring boot application

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.3.RELEASE)

There are multiple ways to disable spring boot banner as follows: