how to change confluence port to used one


i installed Conf 3.4.7 and the default port is 8090 - http://servername:8090but i need to redirect to address http://servername/confluence, how i can do this ?

2 answers

0 votes

Hi Shiomi,

You can run Confluence behind a proxy server and direct your application to port 80. Here's the document which explain the detaile step to achieve this.


Jing Hwa


thanks you for the reply , could you please give more details i am not familiar to work with apache.

BTW : the Conf server run on Win2008R2 , i am using Conf 5.4

thanks for your answer i think , i found other option for redercation on Win server 2008 R2

could you please take a look ? it will do the job ?



The document Jing Hwa has pointed to covers it all. Install apache, set it up as instructed. It is actually generic - it's not just Confluence you would do this for, but any web application you want to relocate.

We can't hold your hand through this - you need to follow the documentation and learn for yourself - if you don't understand it because someone has done it for you, then you can't support it or repeat the installation. Give the document a proper try and ask specific questions if you get stuck, by all means, but you need to try!

There are other options though. In this case, Apache is being used as a basic front-end for relocating Confluence.

  • You don't have to use Apache. Nginx is a good candidate for the job and there are other web-servers that can front it.
  • As you're on Windows, you may have access to (And expertise with) IIS, which can do it too. If you know IIS better than Apache, I'd recommend that.
  • You could change the Tomcat to listen on port 80 instead of 8090. This is only suitable if Confluence is the *only* web service running on the machine though

Yes, that's been written by someone who followed Atlassian's instructions on using IIS to do it, as I mentioned.

What about you just forward the port 80 to 8090?

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090 #On Linux

This way, when you perform maintenance on Confluence, you can redirect port 80 to a static page saying "We'll be back in x minutes".

They're on a Windows box - no iptables installed by default. Might as well use IIS or Apache, as you're going to have to install something there to make it work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,209 views 2 13
Read article

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