SOFTWARE ENGINEERING

SOFTWARE PROJECT MANAGEMENT

CONFIGURATION MANAGEMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
I have a tomcat app and Jenkins on the same server. I would need Jenkins server to listen on a port other than 8080. How can I achieve it?
A
Jenkins default port is 8080 and cannot be changed. Configure Tomcat application to listen on a different port
B
Change the value for “ ____ httpPort” to the desired port in jenkins.xml file
C
Change the value for default port in the Jenkins job where you want to listen on a different port
D
Use application binding to bind the port of your choice for Jenkins server to listen on
Explanation: 

Detailed explanation-1: -Open the file using a text editor such as Notepad or Notepad++. Scroll down until you find the line that contains–httpPort=8080 and change the number to the port you want to set. Note: If you are using HTTPS with Jenkins, use java-jar jenkins. war–httpsPort=[port number] to change the port in the command prompt.

Detailed explanation-2: -Jenkins is typically run as a standalone application in its own process with the built-in Java servlet container/application server (Jetty). Jenkins can also be run as a servlet in different Java servlet containers such as Apache Tomcat or GlassFish.

There is 1 question to complete.