Default port change jenkins

Jenkins Default Port Change on Redhat/Cent0s 7

By default, Jenkins uses the Java Port 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 changing port.

Check out Install Jenkins

Check out Jenkins Access HTTP

Vim /etc/sysconfig/jenkins

As you can see I change default port from 8080 to 9090,

Start the Service,

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

ps -ef | grep jenkins

Also add port in firewall to access it from outside

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

Now Jenkins is ready and configured

Now Start creating your job here

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here