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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,849 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot