How to Configure Confluence server IP port from 8090 to 80?

The default Confluence server IP port is 8090 , I need change port to 80, but it seems the port number only change between 1234 to 9999, I can't chang to 80, How can I do?

The IP such this exmpale: http://localhost:80

3 answers

1 accepted

This widget could not be displayed.

Have you tried changing the port number in the file <confluence_install>/conf/server.xml ?

If you don't want to run Confluence as root and don't want to change your IP tables, you can setup an Apache server runing on port 80 and reverse proxing to Confluence's port. You can read more about this option in Running Confluence behind Apache.

mod_proxy configuration described here:

https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy

This setup gets my vote.

This widget could not be displayed.

Hi, it sounds like you are on Linux? you run it as non-root user, you will not be able to run it on e.g. port 80.

There are a few options and the easiest one might be using iptables to redirect port 8090 to port 80.

iptables is the easiest way -- what's wrong with it? Authbind is another way. Wouldn't recommend running it under root. You could also have a reverse proxy, such as Apache or nginx running on top of it.

Can you tell me other optins , I don't want use iptable

thank Harry:)

This widget could not be displayed.

If I wanted to use iptables, could you point me to a good place to learn about what commands I would need to run?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

383 views 3 6
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