How to override synchrony.port in Windows registry?

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

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!

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

284 views 1 4
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