These steps help you, when you have communication errors in MYOB AccountRight Connection, and you access MYOB on a network path.


Encountered a communication error (http://localhost:8080/AccountRight..........


1. Locate the configuration file on the Main machine running the Accounting system services located at C:\Program Files (x86)\MYOB\API\<version\MYOB.AccountRight.API.WindowsServiceHost.exe.config


The main machine is the machine name which comes under Network Library Address,


2. Change the instances of 'localhost' to the server name (main machine hostname), mainly in this area

<appSettings>
<add key="UserSessionTimeout" value="7"/>
<add key="HomeName" value="AccountRight"/>
<add key="PublicAddressServer" value="localhost"/>
<add key="PublicAddressPort" value="8080"/>
<add key="InstallationAddress" value="http://localhost:8080"/>
<add key="ExecutionContext" value="WindowsService"/>
<add key="InstallationContext" value="NETWORK"/>
<add key="HttpsOnly" value="false"/>
<add key="MaxReceivedMessageSize" value="1048576"/>
  </appSettings>


To find Hostname --- > type cmd in the search bar of you computer

                                              type hostname and press enter. this will give you the hostname of your machine.

3. After changing the config file, goto start menu---> services  and locate the MYOB AccountRight Services, right click and restart.


The new version of MYOB Accountright has changed its config file path. Not C:\Program Files (x86)\MYOB\API\<version\MYOB.AccountRight.API.WindowsServiceHost.exe.config  any more. 


To find the latest path - 

Open Services. Find MYOB AccountRIght API Services. Select right click and select Properties.



It will tell you where the current path is.

C:\Program Files (x86)\MYOB\AccountRightServerEdition\app-2022.600.246864\API

Open MYOB.AccountRight.API.WindowsServiceHost.exe.config  and do the same update as above and update local host to the server name.


Restart the MYOB services and try again.