0 votes
in Spring Boot by (5k points)
How to change embedded tomcat server port in spring boot?

1 Answer

0 votes
by (5k points)

We can change the port of Embedded Tomcat Server in Spring Boot by adding a property server.port in our application.properties file.

 application.properties property file is automatically loaded by Spring Boot and can be used to configure both Spring Boot as well as application code.

In .application.properties file:-


Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.