Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to Run Confluence on Two Different Ports with Docker?



Is it possible to assign two ports to Confluence when using Docker? We want direct access with HTTPS and a connector for Apache. 

For Example:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
scheme="https" proxyName="<>" proxyPort="443" secure="true" />

<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="<>" keystoreFile="/home/confluence/.keystore"/>

Thank you!


1 answer

0 votes
Alexis Robert Community Leader Oct 21, 2019

Hi @Lion Kosiuk , 


you can follow this documentation (originally for bypassing a proxy for Application Links) to have another connector in Confluence :


Let me know if this helps, 



Hello @Alexis Robert ,

Thank you so much for your answer. Unfortunately I already know the document. But I want to use the environment variables you can specify when starting a Docker container with image Confluence to specify a second Tomcat Connector. Unfortunately this doesn't seem possible.

Best regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

73 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you