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

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!

Gianni,

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

Thanks,

Matt

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
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
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

194 views 3 3
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