| How can we change the port of embedded Tomcat server and how to change that
Yes it is possible to change the port of embedded Tomcat server. And to change this we need to change in the application properties file. Here in this file we need to add a property which name is "server.port" and need to put the port value to this property. For example if we need to assign port 8081 then we use below syntax for that:-
server.port=8081
Once we add this port number then application properties file will be updated by Spring Boot and configuration will be applied to the application | | |