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?



5 answers

1 accepted

2 votes

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!


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



C. Faysal,

Thank you. That worked.

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 Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

274 views 11 10
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