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

1 Answer

0 votes
by (4.7k 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:-

server.port:3000

Share:- Whatsapp Facebook Facebook


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

Categories

...