Question
I am trying to list available OPC UA servers on my machine using the opcuaserverinfo command in Industrial Communication Toolbox. However, the command returns an empty value with the following warning: Warning: No OPC UA servers found.
Expert Answer
John Williams
PhD Expert
Answered Sep 12, 2026
This could be happening due to one of the following reasons:
- The OPC UA server(s) is not registered to a Local Discovery Service (LDS) on the machine. Follow the steps here to download and install the LDS and then register your OPC UA server with the LDS.
- The OPC UA server's application instance certificate might be rejected by the LDS server. To trust the server certificate, move it from the LDS server's reject store to its trust store.The default trust and reject store of LDS are:
Reject store folder: "C:\ProgramData\OPC Foundation\UA\pki\rejected\certs"
Trust store folder: to "C:\ProgramData\OPC Foundation\UA\pki\trusted\certs"
Note: Make sure to move the file instead of copying it.
Additional Troubleshooting steps:
You could also refer to the LDS log file located in: C:\ProgramData\OPC Foundation\UA\Discovery\opcualds.log for more information. It is also possible to change the log level (and many other parameters) using the ualds.ini config file (in the same folder) to get detailed logging information.
Note: After changing LDS settings, it may be necessary to restart the LDS through the Windows “Services” console. The display name of the LDS is “OPC UA Local Discovery Server”.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related opc Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →