Firewall Settings

To enable remote access to the OPC UA Servers you will need to configure your firewall(s) to permit the applicable TCP ports to pass through. The following list shows the TCP ports for each application installed within this package, per endpoint:

Application Name

Endpoint

TCP Port

Discovery Server

opc.tcp://<localhost>:4840/UADiscovery

4840

http://<localhost>:4843/UADiscovery

4843

Reference Server

opc.tcp://<localhost>:62541/Quickstarts/ReferenceServer

62541

http://<localhost>:62540/Quickstarts/ReferenceServer

62540

Data Access Server

opc.tcp://<localhost>:62547/Quickstarts/DataAccessServer

62547

http://<localhost>:62546/Quickstarts/DataAccessServer

62546

Alarm & Conditions Server

opc.tcp://<localhost>:62544/Quickstarts/AlarmConditionServer

62544

http://<localhost>:62543/Quickstarts/AlarmConditionServer

62543

Historical Data Server

opc.tcp://<localhost>:62550/Quickstarts/HistoricalAccessServer

62550

http://<localhost>:62549/Quickstarts/HistoricalAccessServer

62549

Historical Events Server

opc.tcp://<localhost>:62553/Quickstarts/HistoricalEventServer

62553

http://<localhost>:62552/Quickstarts/HistoricalEventsServer

62552

Generic Server

opc.tcp://<localhost>:51210/UA/SampleServer

51210

http://<localhost>:51211/UA/SampleServer

51211

Generic Client
(acting as a Server)

opc.tcp://<localhost>:61210/UA/SampleClient

61210

http://<localhost>:61211/UA/SampleClient

61211

Changing Server Port Configuration

Each UA Server can be reconfigured to use an alternate TCP port, and to also activate/deactivate endpoints. Simply open the applicable configuration file (found in the installation directory), per the following table:

Application Name

Configuration File Name

Discovery Server

Opc.Ua.DiscoveryServer.Config.Xml

Alarm Condition Server

Quickstarts.AlarmConditionServer.Config.Xml

Data Access Server

Quickstarts.DataAccessServer.Config.Xml

Reference Server

Quickstarts.ReferenceServer.Config.Xml

Historical Access Server

Quickstarts.HistoricalAccessServer.Config.Xml

Historical Events Server

Quickstarts.HistoricalEventsServer.Config.Xml

Sample Client (acting as a server)

Opc.Ua.SampleClient.Config.Xml

Sample Server

Opc.Ua.SampleServer.Config.Xml

You will need to restart your UA Server upon making any changes to a configuration file.

See Also