OPC Studio User's Guide and Reference
DefaultEndpointUrlString Field



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > EasyUAServerCore Class : DefaultEndpointUrlString Field
The default URL string of the server's primary endpoint. Equals to "opc.tcp://localhost:48040/".
Syntax
'Declaration
 
Public Const DefaultEndpointUrlString As String
'Usage
 
Dim value As String
 
value = EasyUAServerCore.DefaultEndpointUrlString
public const string DefaultEndpointUrlString
public:
const String^ DefaultEndpointUrlString
Remarks

This is the default value of the EndpointUrlString property.

The default is chosen in such a way that the server is able to run successfully even when the default port is occupied by the OPC UA Local Discovery Server (LDS) running on the same host.

If you know that the LDS is not running and will not be needed, and your server will be the primary or the only OPC UA server running on this host, consider changing the EndpointUrlString to StandardEndpointUrlString.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also