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

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.

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:)

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
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 Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

912 views 23 12
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