Try this :
Go to C:\Program Files\SAP\SAP Business One DI API
Check if your CONF file is pointing to Local host
If so,change IP address or server name
You might also want to remove SAP folder from user profile
C:\Users\XXX\AppData\Local\SAP
thank you