Error -356698 When Connecting to Server Using OPC UA Toolkit 2017

Updated Jun 27, 2018

Reported In


  • LabVIEW
  • LabVIEW 2017
  • LabVIEW OPC UA Toolkit
  • LabVIEW 2017 OPC UA Toolkit

Issue Details

I am using the OPC UA Toolkit 2017 with LabVIEW 2017. On my client machine when trying to connect to the server, I receive Error -356698: Unable to locate the host. Ensure the hostname is valid or use the IP address. How can I resolve this error and connect to the server?


  1. Find the hosts file located in C:\Windows\System32\drivers\etc\hosts
  2. Using Notepad or any text file software, add the hostname of your server and its IP address to the hosts file. The format should follow the example and instructions included in the hosts file.


Not Helpful