All Collections
Connections
MYOB AccountRight (desktop)
How do I change the MYOB Add-On Connector port?
How do I change the MYOB Add-On Connector port?
M
Written by Michael Gannon
Updated over a week ago

Overview:

The MYOB Add-On connector is what the MYOB desktop connector uses to access MYOB files from MYOB AccountRight versions 2014 to 2016. The Add-On Connector is MYOB software and by default operates from its local system’s 8080 port. However, if the system’s 8080 port is already occupied by other software, the MYOB Add-On Connector will not run and you will not be able to connect any MYOB files from AccountRight versions 2014 to 2016 to Common Ledger.

You can identify this error by right-clicking on the MYOB Add-On Connector in the system tray, then clicking the "status: error", if present. It will then tell you that port 8080 is occupied.

This article’s purpose is to show you how to change the MYOB Add On’s port, as well as where our desktop connector looks for the MYOB Add-On connector.

This process requires a reasonably high level of technical literacy, and if you are unsure as to how to complete this change, please contact Common Ledger Support or your IT provider.

How to:

There are two steps to completing this task:

  1. Changing the MYOB Add-On connector’s default port, and;

  2. Changing the port which the desktop connector looks for the Add-On connector in.

First, make sure that you can see hidden files on the system. To do so:

  1. Select the Start button, then select Control Panel > Appearance and Personalization.

  2. Select Folder Options, then select the View tab.

  3. Under Advanced settings, select Show hidden files, folders, and drives, and then select OK.

To change the MYOB Add-On connector’s default port:

Exit the MYOB Add-On Connector from the system tray

Exit_MYOB_connector.png

Go to the PC’s local drive (C:)

Select_local_disk.png

Select "Users"

Select_users.png

Select the signed in username

Select_username.png

Select “App Data”

Select_app_data.png

Select “Local”

Select_local.png

Select “Programs”

Select_programs.png

Select “MYOB”

Select_MYOB.png

Select “AddOnConnector”

Select_ADD_ON_CONNECTOR.png

Double click the most recent version of MYOB

Double_click_the_most_recent_version_of_mYOB.png

Open “MYOB.AccountRight.API.AddOnConnector.exe” with Notepad.

Open_the_config_file.png

You will now be presented with a code file. This is the configuration of the MYOB Add-On connector.

Full_config_file.png

To change its default port, you’ll need to locate the PublicAddressPort and InstallationAddress. These are both in the upper part of the code.

Ports_w_arrows.png

From here, you can see that the value attached to both of these lines is 8080. Now, simply edit this to another number. A simple way is 8081.

change_of_ports.png

Note: The port number should never be changed to lower than 1024, as these are generally reserved for system usage.

Once you have changed the PublicAddressPort and InstallationAddress, save the document.

Save_config_file.png

Next, you'll need to update our desktop connector's config file to change the port which the desktop connector looks for the Add-On connector in. To do so:

  1. Make sure that at least version 3.0.13.1 is installed on the PC

  2. Open and then quit the desktop connector from the system tray or Task Manager. Next:

Go to the PC’s local drive (C:)

Select_local_disk.png

Open Program Data

Open_program_data.png

Select “Common Ledger”

select_common_ledger.png

Double click MYOBConnector

Double_click_myob_connector.png

Select the "Config" XML file

Open_config_xml.png

Open the config file with notepad

full_config_cl_file.png

Change the “<AddonPort>” to match the port number you have set the MYOB Add-On connector to.

edited_config_file.png

Save the file

Save_config_file.png

Once you have completed both of these tasks, restart the PC. When you re-launch, the Common Ledger desktop connector will be able to connect to MYOB files from AccountRight versions 2014 to 2016. The MYOB Add-On connector will now run from a new port and our desktop connector will search for it in the correct location.

You can check that the change has been successful by entering http://localhost:newport#here/AccountRight into the system’s internet browser. If you have successfully changed the port, you will be prompted with information from MYOB.

Did this answer your question?