- Go to the directory where you installed Jenkins (by default, it’s under Program Files/Jenkins)
- Open the
Jenkins.xmlconfiguration file - Search
--httpPort=8080and replace the8080with the new port number that you wish - Restart Jenkins for changes to take effect