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
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 Tuesday 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 ...

396 views 17 9
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