crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

How can we change the port of embedded Tomcat server and how to change that
Question Posted on 08 Mar 2020Home >> Java >> Swing >> How can we change the port of embedded Tomcat server and how to change that

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



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

How can we change the port of embedded Tomcat server and how to change that

What do you mean by Event in Swing?

Name the containers use a border layout as their default layout in Swing?

Write down the main difference in between AWT and Swing?

Name the method which is used by applet to recognize the height and width?






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap