Could not able to register the server to OPC UA LDS

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
shrinivas.mt
Jr. Member
Jr. Member
Posts: 1
Joined: 18 Oct 2019, 04:30

Could not able to register the server to OPC UA LDS

Post by shrinivas.mt »

I tried to register the server to OPC UA LDS below is the code used for registration in APP Configuration.

Code: Select all

 <DiscoveryRegistration>
              <Enabled>true</Enabled>
              <RegistrationInterval>2</RegistrationInterval>
            </DiscoveryRegistration>
I'm getting the following error in server log file
|[Bad] Could not register with LDS. Re-registering in 4s. Url=opc.tcp://localhost:4840/|SocketException|No connection could be made because the target machine actively refused it [::1]:4840
i'm getting following error in UAExpert:
Discovery FindServersOnNetwork on opc.tcp://localhost:4840/UADiscovery failed (BadNotFound), falling back to FindServers

Discarding Server UA Local Discovery Server with URL opc.tcp://UT-LTP-111.ABC.in
I am using UA .NET SDK v3.02 (licensed) & OPC UA LDS v1.03 validated in UaExpert v1.5.1 for the testing.

Thanks for the help :) .

Post Reply