Confluence redirect 8090 to 80

Hi, I'm running Confluence 5.1.3 as non-root on CentOS 6.3. Since I cannot use ports lower than 1024, I used an iptables redirect as mentioned in the confluence wiki page, but do I need to change anything to server.xml or my base server configuration? Logging in from port 80 externally works, but if I go to for instance the admin section "Manage Add-Ons" and I try to download a new update, it gives me an error and says that I need to check my logs. I think the updates cannot be downloaded because the system tries to download through the wrong port?

Am I missing something?

Thanks,

Gianni

5 answers

1 accepted

This widget could not be displayed.

Hi Gianni,


Did you reconfigure the Server Base URL in Confluence Admin>>General Configuration>>Edit>>Server Base URL to port 80? It might be possible that Confluence is still trying to access the manage Add on page through port 8090 based on the Server Base URL.

Hope this helps!

This widget could not be displayed.

hi gianni.

that topic was often discussed here.

https://answers.atlassian.com/questions/88263/running-confluence-on-port-80

This widget could not be displayed.

Gianni,

Centos newbie. Can you share the iptable commands you ran to set this up?

Thanks,

Matt

This widget could not be displayed.

C. Faysal,

Thank you. That worked.

This widget could not be displayed.

try this one @mcomsto

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

109 views 12 6
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