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
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