How to configure Jenkins to run on port 80

0 votes

Hi Guys,

I am new to Jenkins. I want to change the default port no. in Jenkins from 8080 to 80. How can I do that?

Oct 26, 2020 in Jenkins by akhtar
• 38,210 points
2,018 views

1 answer to this question.

0 votes

Hi@akhtar,

You can change the port no from the Jenkins file. Follow the below-given steps.

  1. Go to /etc/default folder --> Open the file "Jenkins".

  2. Modify the line HTTP_PORT=8080 as HTTP_PORT=80.

  3. Start Jenkins as root by using the command: sudo /etc/init.d/jenkins start.

  4. Open a browser and browse as localhost:80.

answered Oct 26, 2020 by MD
• 95,320 points

Related Questions In Jenkins

0 votes
2 answers

How to start Jenkins on a different port rather than 8080?

In case you want to change the ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,090 points
21,669 views
+2 votes
4 answers
0 votes
1 answer

I’m facing a login error when I try to run Jenkins on Docker. How do I solve this?

You have to open the /var/log/jenkins/jenkins.log file to ...READ MORE

answered Jul 24, 2018 in Jenkins by Sophie may
• 10,550 points
1,700 views
0 votes
1 answer

How to run selenium script with TestNG on Jenkins?

You can build this project in Jenkins ...READ MORE

answered Jun 19, 2019 in Jenkins by Neel
• 3,020 points
2,399 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,328 views
+2 votes
1 answer
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,090 points
34,016 views