Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (1.5k points)

I am having  this file, jenkins.war and I have started it from cmd prompt as:

java -jar jenkins.war

It did start expectedly l could easily access http://localhost:8080

Now,I wanna start the same on the port ,9090. How could I do it?

closed

1 Answer

+1 vote
by (7.5k points)
selected by
 
Best answer

You can use this command in the  cmd :

java -jar jenkins.war --httpPort=9090

You can also use the https, if you wish by using:

java -jar jenkins.war --httpsPort=9090

If you want to know more about Jenkins, you can follow this Jenkins Tutorial.

Browse Categories

...