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

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