interface OPCUAServerEndpointOptions {
    allowAnonymous?: boolean;
    alternateHostname?: string | string[];
    disableDiscovery?: boolean;
    host?: string;
    hostname?: string;
    port?: number;
    securityModes?: MessageSecurityMode[];
    securityPolicies?: SecurityPolicy[];
}

Hierarchy (view full)

Properties

allowAnonymous?: boolean

tells if the server default endpoints should allow anonymous connection.

true
alternateHostname?: string | string[]

alternate hostname or IP to use

disableDiscovery?: boolean

true, if discovery service on secure channel shall be disabled

host?: string

Host IP address or hostname where the TCP server listens for connections. If omitted, defaults to listening on all network interfaces:

  • Unspecified IPv6 address (::) if IPv6 is available,
  • Unspecified IPv4 address (0.0.0.0) otherwise. Use this to bind the server to a specific interface or IP.
hostname?: string

the primary hostname of the endpoint.

getFullyQualifiedDomainName()
port?: number

the TCP port to listen to.

26543
securityModes?: MessageSecurityMode[]

the possible security mode that the server will expose

[MessageSecurityMode.None, MessageSecurityMode.Sign, MessageSecurityMode.SignAndEncrypt]
securityPolicies?: SecurityPolicy[]

the possible security policies that the server will expose

[SecurityPolicy.None, SecurityPolicy.Basic128Rsa15, SecurityPolicy.Basic256Sha256, SecurityPolicy.Aes128_Sha256_RsaOaep, SecurityPolicy.Aes256_Sha256_RsaPss  ]