So when i try changing the port of my jenkins to 25176 with --httpPort=25176 it says that unrecgnized option

Jenkins setup: Default no plugins Version 2.452.2
image_2024-06-13_225813749

the port argument is not an argument of the jvm but an argument to the Jenkins application. So you will need to put it after the jenkins.war
java -XX ... -jar jenkins.war --httpPort=25176

1 Like

Oh ok thanks I thought it goes behind the arguments lol