Jenkins Tutorial - Changing Jenkins Port to 80

Veröffentlicht am: 08 Mai 2017
auf dem Kanal: DotsWay
19,572
38

In this tutorial i will show you how to change Jenkins default port to 80 on Linux, this can apply to any port.

Have Jenkins running directly without specifying any ports.

Below HTTPD Configuration were done to change Jenkins port

ProxyPass /jenkins http://localhost:8080/jenkins nocanon
ProxyPassReverse /jenkins http://localhost:8080/jenkins
ProxyRequests Off
AllowEncodedSlashes NoDecode

and modified /etc/sysconfig/jenkins
add in the end of file "JENKINS_ARGS="--prefix=/jenkins" which means that this is the name of folder which added in above httpd.

If you have the selinux enabled then you need to run below commands:

setsebool httpd_can_network_connect true
setsebool httpd_can_network_connect 1

After restarting both Jenkins and HTTPD service you can run below command to be sure that Jenkins new port is active

ps aux | grep -i jenkins


Auf dieser Seite können Sie das Online-Video Jenkins Tutorial - Changing Jenkins Port to 80 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DotsWay 08 Mai 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 19,572 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!