How to start jenkins on different port rather than 8080 using command prompt in Windows?

后端 未结 16 855
我在风中等你
我在风中等你 2020-12-04 08:02

I have jenkins.war and I started it from command prompt in Windows as:

java -jar jenkins.war

It was started well and easily browsed as

16条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 08:23

    With Ubuntu 14.4 I had to change the file /etc/default/jenkins

    E.g.

       #HTTP_PORT=8080
       HTTP_PORT=8083
    

    and restart the service

    service jenkins restart

提交回复
热议问题