Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Start JIRA as root

yunfeng guo March 3, 2014

I want to know whether and how i can start JIRA as root, coz i want ot run it at port 80. I know i can do it with Apache or Nginx, but i just want to know how i can run it at 80.

JIRA version is 5.1.3

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
DarkSideMilk August 2, 2018

I realize this is an old post, but look into authbind

it's an old tool but it still works, allows you to give access to restricted ports such as 80 and 443 to non root users

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2014

Ugh, that's always a bad idea - best practice is to run as little as possible as root, especially avoiding things that are as flexible as Jira.

You've already got the best answer - use a proxy, but you can also re-route traffic in a firewall, remove the security that is blocking you ( look up "setcap") or authbind (I seem to remember that only works for IPV4 though)

yunfeng guo March 6, 2014

Currently, we use iptables to redirect from 80 to 8080, but we met a problem: something does not work fine with the port redirection. Here is the detail: https://answers.atlassian.com/questions/249203/jira-504-error-when-add-user-into-project

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2014

That error doesn't seem to be related to port redirections, just the server timing out.

TAGS
AUG Leaders

Atlassian Community Events