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

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
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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

94 views 0 5
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