1.

What is default port of tomcat in spring boot can we change that?

Answer»

What is DEFAULT port of tomcat in spring boot can we change that?
The default port of tomcat in spring boot is given below

8080

and we can change that by ADDING server.port properties in given below files.
(1)By using application.property file
(2)By using application.yml file
(3)By using EmbeddedServletContainerCustomizer INTERFACE
(4)By Command-Line PARAMETER



Discussion

No Comment Found