Making JIRA only available at Subdomain, but not at Port 8080

I installed JIRA on my server, port 8080. domain.com:8080 worked, so I followed the instructions onhttps://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apacheto make it available at jira.domain.com.

JIRA now is available at jira.domain.comBUT also on domain.com:8080

Disabling port 8080 via iptables -D INPUT -p tcp --dport 8080 -j DROP also disables the functionality of jira.domain.com

Does anybody know how to solve this issue?

3 answers

1 accepted

0 vote
Pedro Cora Atlassian Team Jan 15, 2014

Hello,

You can configure JIRA to run on port 80, which will not require you to specify the port when loading JIRA on the browser.

For more details, check this doc: https://confluence.atlassian.com/display/JIRA/Changing+JIRA's+TCP+Ports

Furthermore, if running JIRA straight at this port is not feasible, then you can integrate JIRA with Apache and use it as a reverse proxy. More details at https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

Hi,

thanks for your answer.

I can't change the port to 80 because there's a webserver running on port 80 on the same system.

I integrated JIRA in Apache and used it as a reverse proxy.

My only problem is, that :8080 is still reachable, I just want to block access to domain.com:8080, but leave jira.domain.comavailable.

0 vote

Have you added the proxyName and proxyPort properties in server.xml? It should redirect to those values even if the user accesses it on 8080.

I'm trying to describe my problem again:

Currently it is like this:

domain.com-> website opening

jira.domain.com-> JIRA opening

domain.com:8080 -> JIRA opening

But I want it to be like this:

domain.com-> website opening

jira.domain.com-> JIRA opening

domain.com:8080 -> nothing opening, just like the port is not used

How to achieve this?

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

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

132 views 0 2
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