Jira unable to access on port 80

Hi All

I want to access jira using startard port 80. So I amended the server.xml from port 8080 to 80 and restartd jira (as a service).

But after the change I cannot access jira.

What are the changes that i need to make to fix this?

It seems that apache is not listening to this port. Can anyone help please?

Note:If I use any other port say 8091 , 8092 etc it works. but not 80

Rahul

5 answers

1 accepted

Accepted Answer
3 votes
Ivan Tse Atlassian Team Mar 25, 2013

If you're using a linux OS then you need to run JIRA as a root user. Only root is allowed to run applications on ports lower than 1024.

If you're running on windows, you could have another service running on that port already.

Eithery way, the change you're making is most likely correct, but an environment variable could ne holding you up.

sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080.

This will just fit your bill, redirect everything from 8080 to 80 and you can access it over http without any issues. Ex : (www.jira.mydomain.com) as compared to default (www.jira.mydomain.com:8080)

I wouldn't reconmend running any process to run as root. I assume you aim at removing the port i.e. 8080 from the address and make it respond to jira.yourhost.tld This can be done in a more smarter way

@C. FaysalCan you elaborate on what approach you would take to run JIRA without a port number?

No, he keeps the "more smarter way" to himself, because you wouldn't understand.

In any case take a look at this documentation, is always better to read the official information, at least to understand:

https://confluence.atlassian.com/display/JIRA/Changing+JIRA's+TCP+Ports

Cheers

I simply re-installed jira and amended the xml to accept port 80 and it worked. Not sure what was wrong with my previous installation.

Rahul

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,529 views 2 7
Join discussion

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