JIRA 7.6 can't be installed with port 80

I am trying to install JIRA 7.6 on my Redhat and I want to use port 80.

But the installation process rejects with reason "for security reasons the port number must be above 1023"

Then I go ahead with the default port 8080 and follow some posts to change the configuration port to 80 in server.xml and using jira configuration tool by running config.sh. But still can't run JIRA on browser with port 80

So both the installation rejects port 80 and changing configuration to port 80 doesn't work.

Please help. Thanks.

JIRA.JPG

 

1 answer

1 accepted

0 vote

This is a standard Linux security system kicking in.  Services cannot run on ports below 1024 unless they are run by root.

Three approaches:

  1. Run Jira as root.  Except, do not do this.  You absolutely do NOT want to run Jira as root, that's a much bigger pile of security problems than this blocking behaviour
  2. Run Jira behind a proxy.  Proxies such as Apache and nginx use some tricks to run as non-root systems on lower number ports, and can effectively solve the problem for you by saying "when user lands on 80, I'll just proxy it over to Jira on 8080"
  3. Use the same "setuid" trick Apache and Nginx use to run non-root users on low numbered ports on the Tomcat that is running Jira. 

I prefer option 2 because proxies generally allow all sorts of other sneaky things while keeping the Jira installation as non-customised as possible.  I've done 1 on a test system, and had security scans throw fits, and I've done 3 a couple of times a long time ago - it works, but proxies are nicer (because I always add SSL, and usually integrate the Atlassian stuff with other systems, and can use it to make them part of a website and and and)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,242 views 10 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you