• Register

Share:- Whatsapp Facebook Facebook

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


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

1 Answer

0 votes

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:-


by (4.4k points)