How to change jenkins default port 8080

Follow these simple steps and change the default port number on Jenkins.

  • Go to the Jenkins directory we installed the Jenkins (By default, it is located under C://Program Files//Jenkins)
  • Open the Jenkins.xml file.
  • Search for "httpPort=8080" (as shown in below image) and replace the "8080" with the new port number that you want to change, you can put 8081.

  • Save it and restart the Jenkins.
  • Browse the Jenkins url as https://localhost:8081

No comments: