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.
There are two steps to completing this task:
- Changing the MYOB Add-On connector’s default port, and;
- 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:
- Select the Start button, then select Control Panel > Appearance and Personalization.
- Select Folder Options, then select the View tab.
- 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
Go to the PC’s local drive (C:)
Select the signed in username
Select “App Data”
Double click the most recent version of MYOB
Open “MYOB.AccountRight.API.AddOnConnector.exe” with Notepad.
You will now be presented with a code file. This is the configuration of the MYOB Add-On connector.
To change its default port, you’ll need to locate the PublicAddressPort and InstallationAddress. These are both in the upper part of the code.
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.
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.
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:
- Make sure that at least version 188.8.131.52 is installed on the PC
- Open and then quit the desktop connector from the system tray or Task Manager. Next:
Go to the PC’s local drive (C:)
Open Program Data
Select “Common Ledger”
Double click MYOBConnector
Select the "Config" XML file
Open the config file with notepad
Change the “<AddonPort>” to match the port number you have set the MYOB Add-On connector to.
Save the file
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.