Jenkins modify the port number

There was a port conflict when installing kubernetes today, because jenkins occupied 8080 as soon as it came up (many things like the default port 8080).

Since I installed jenkins by rpm, I just need to edit vim /etc/sysconfig/jenkins

JENKINS_PORT="8081" is changed to 8081 here, the default is 8080

Restart the jenkins service jenkins restart to solve the port conflict problem.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325431783&siteId=291194637