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
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!
Actually this worked for me. Run the following commands in order:
iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 8090 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It's working, but after rebooting the server automatically forwarding back to the 8090.
Please help me to forward the permanently on 80.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this one @mcomsto
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi gianni.
that topic was often discussed here.
https://answers.atlassian.com/questions/88263/running-confluence-on-port-80
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.