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