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,260 points
10,697 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,460 points

Related Questions In Jenkins

0 votes
2 answers

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

This is simple, use the following command: java ...READ MORE

answered Jul 4, 2018 in Jenkins by Sophie may
• 10,620 points
35,835 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,620 points
3,575 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
4,073 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
4,034 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,230 points
78,757 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP