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 override synchrony.port in Windows registry?

Milo Chan Apr 05, 2017

I'm trying to get Collaborative Editing in Confluence 6.1.1 working.

I can't figure out how to set the synchrony.port to something other than 8091. (That port is in use on our system.)

This page explains that for Confluence running as a service on Windows, this should be overridden in the registry. It refers to another page, which explains, somewhat ambiguously, where to put the registry entry.

It says to place synchrony.port property in the entry:

HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name

However, the accompanying screen grab on the page actually points to this entry:

HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name >> Parameters >> Java

It also doesn't state what type of value to create. (string? dword?)

I've tried all possible combinations and nothing seems to work.

1 answer

2 votes
Marcelo Horlle Atlassian Team Jun 12, 2017

Hey Milo,

If you are running your Synchrony as a Windows Service, let's do it through Command Line, it is easier.

# Open CMD and CD to your Confluence bin directory.

# Run the following command by changing the <SERVICENAME> by your Service Name: tomcat8w //ES//<SERVICENAME>

# You will see that an option pane will be rendered on your screen. Click on the JAVA Tab.

# Add the following argument as a new line inside the Java Options: -Dsynchrony.port=PORTNUMBERHERE

# This will make the service to run on a different port.

Hope it helps! Have a great week ahead!

Milo Chan Jun 14, 2017

Thank you! I never thought to look for a pure Tomcat solution. This worked perfectly.

Marcelo Horlle Atlassian Team Jun 14, 2017

Awesome news, Milo!
Have a great week ahead. :)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

934 views 0 19
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