server icon indicating copy to clipboard operation
server copied to clipboard

What is the role of --opc tag

Open hadifar opened this issue 1 year ago • 1 comments

I pass the parameters --opc to the server with the following command:

dotnet AasxServerBlazor.dll --no-security --edit --data-path .\aasxs --opc

And it logs:

warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'http://*:5001'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
InitializeProgram
args:
--no-security
--edit
--data-path
.\aasxs
--opc

Serving the AASXs from: .\aasxs
Security 1 Startup - Server
Security 1.1 Load X509 Root Certificates into X509 Store Root
Connect to OPC UA by: opc.tcp://0.0.0.0:51210/UA/SampleServer
1/1 0s Loading .\aasxs\Example_AAS_ServoDCMotor_21.aasx...
1 AASX loaded in 0s

Please wait for the servers to start...
OPC UA Server started..
Servers succesfully started. Press Ctrl-C to exit...
Registry is empty

However, nothing exists on opc.tcp://0.0.0.0:51210/UA/SampleServer when I use UAexpert.

image

hadifar avatar Nov 19 '24 10:11 hadifar