We run jenkins on tomcat on port 8080 but then use iptables to route port
80 to 8080.  Works great.  Here is one sample:

http://askubuntu.com/questions/444729/redirect-port-80-to-8080-and-make-it-work-on-local-machine


On Sat, Aug 1, 2015 at 4:44 PM, Mark Waite <[email protected]>
wrote:

> I would think that running Jenkins as the root user would be a very
> risky.  If one of the users inadvertently defines a Jenkins job that runs
> the shell command "rm -rf /", your system will self-destruct.
>
> It is best to find another way, rather than running the Jenkins process as
> the root user.
>
> Mark Waite
>
> On Sat, Aug 1, 2015 at 4:04 PM Martin <[email protected]> wrote:
>
>> Hey, I was starting the service with a sudo user. So it should be fine in
>> terms of privilege.
>>
>>
>> On Friday, July 31, 2015 at 3:05:29 PM UTC-4, Thomas Fuerer wrote:
>>
>>> on many systems you need administrative privileges to use a port between
>>> 0 to 1024. normally a apache httpd (or nynx) demon runs at this port and
>>> routes to the internal 8080 port.
>>>
>>> tom
>>>
>>> Am 31.07.2015 um 20:37 schrieb Martin:
>>> > Hello, I wanted to use "80" for Jenkins server. and I executed the
>>> > following:
>>> >
>>> > $ java -jar --httpPort=80jenkins.war
>>> >
>>> >
>>> > But It doesn't work. The website is not on. My port 80 is available.
>>> > Then I have to change it back to 8080.
>>> >
>>> >
>>> > What might cause this? Thank you.
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups "Jenkins Users" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>>
>> > an email to [email protected]
>>>
>> > <mailto:[email protected]>.
>>> > To view this discussion on the web visit
>>> >
>>> https://groups.google.com/d/msgid/jenkinsci-users/a3b89f81-11e0-4757-a3d7-b5a5cbd32b13%40googlegroups.com
>>> > <
>>> https://groups.google.com/d/msgid/jenkinsci-users/a3b89f81-11e0-4757-a3d7-b5a5cbd32b13%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/fe82020c-f033-4e6f-a64d-3ef82b13f035%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/fe82020c-f033-4e6f-a64d-3ef82b13f035%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEoHWY9dKp%2Bi6TsCzqz6geQn7OikhRo1%2BMkb8u%3DbfFByg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEoHWY9dKp%2Bi6TsCzqz6geQn7OikhRo1%2BMkb8u%3DbfFByg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPJK9%3DLsBTFx6FJnYVXMRiYyYRb3WYqxkFgA0yE2YW5O%3D_AOmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to