Change Jenkins Default Port To Access On CentOS 7

You can change the default Jenkins port in the configuration file in the centos. By default, Jenkins uses the port number 8080.

If you need to change it from default to another port, It can be possible. First, you
will have to stop Jenkins service then go to this location for charging port. 

Check Out: Install Jenkins

Change Jenkins Default Port To Access:

Jenkins is a CI/CD tool for the software development cycle. you can use this tool for creating the build and automatically whenever you commit the code. This will start compiling the code and if it finds any issue, This will send the mail but you have to configure email in Jenkins.

vim /etc/sysconfig/jenkins

Change Jenkins Default Port

As you can see, Port changed from 8080 to 9090,

jenkins port change

Start the Service,

To make sure, You can run below command to check whether It’s running on port 9090 or not.

Check Out: Jenkins Access HTTP 

ps -ef | grep jenkins

Add Jenkins port in the firewall.

Now Access URL with port 9090 & change the URL According to your need,

Jenkins is ready and configured.

Check Out: Configure Master and Slave MySQL Replication On Linux

Now Start creating your job here.

You’re done jenkins port configuration file change jenkins port centos jenkins configuration in centos

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment