Synchrony.port ovverriden, but synchrony do not start
Asked by Christian Ruf:

Hello,

we run Confluence on Port 8091 on a Windows Server.

To use Synchrony on different port i have added

HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Apache Software Foundation\\Procrun 2.0\\Confluence051118142118\\Parameters\\Java

-Dsynchrony.port=8092 to the Options. After reboot i can see in systeminformation, that synchrony.port use 8092, but synchrony still do not start.

ON **Collaborative editing** site under configuration is still the old 8091 port. Synchrony do not start.

Is there somebody who could help me?

Best Regards

Eduard


Answers:
author: Christian Ruf
body: I found the solution. Just for somebody who has the same problem.

After Change to different port reboot or restart of confluence service did not changed really everything. After change the collaborating Modus off and then again on it works.

comments: author: Valentino Adam
body: please, can you tell what exactly you wrote, what is the line and in which file you wrote?

thank you.


author: eferrell
body: [@Christian Ruf](/t5/user/viewprofilepage/user-id/279345) you are a life saver! I was having this same problem and couldn't figure out why Confluence kept showing the old port of 8091. Turning Collaborative mode off and on again fixed the issue--restarting Confluence service alone didn't do it.

Here's the full steps I took:

1. Turn OFF Collaborative Editing on BOTH instances
2. Stop both instances of Confluence
3. Edit one of the instance's Java parameters to use port 8092
4. Ensure sychrony.pid file is deleted for BOTH instances (<https://confluence.atlassian.com/confkb/unable-to-restart-synchrony-after-confluence-was-not-shut-down-gracefully-957128787.html>)
5. Start the instance that you changed in step 3, and turn ON Collaborative Editing
6. You should see the port update to 8092 now
7. Start the second instance with the default port of 8091 and turn ON Collaborative Editing


author: Neil Anthony Morada
body: Hello [@eferrell](/t5/user/viewprofilepage/user-id/3077952)

May I ask what do you mean on BOTH instances? I tried this steps but seems that it don't have effect on our synchrony port. This is the steps that I did:

1. Turn off collaborative mode.

2. End task confluence in data center

3. Edit HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Apache Software Foundation\\Procrun 2.0\\Confluence051118142118\\Parameters\\Java

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/169796i8BE6AE1F29D13920/image-size/large?v=v2&px=999 "image.png")ad

4. Start confluence services

5. Turn on collaborative mode.

But still it is on 8091 port. Thank you in advance for your help.

Best regards,

Neil Morada


author: eferrell
body: [@Neil Anthony Morada](/t5/user/viewprofilepage/user-id/4551742)

In my case, I had two installations of Confluence on the same server, and both were set to the default port for Synchrony which was causing collaboration mode to not work. I had to set them to two different ports.

I changed my java options through command line--not registry. I'm not sure if that makes any difference but its worth a try: <https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html>

I would turn Collaboration on and off a couple times and restart the server to see if it changes.


author: Neil Anthony Morada
body: Hi [@eferrell](/t5/user/viewprofilepage/user-id/3077952)

Thank you for this, I will just try to turn of collaboration and restart the server until it change the port.


Tags: confluence-server

server