How to Enable the OPC UA Server in Kepware
The OPC UA server interface in KEPServerEX lets remote systems connect to the server for client connections, diagnostics, or linking two OPC servers. This guide shows you how to enable the OPC UA server in Kepware for remote clients. You enable the host name endpoint, open the OPC UA port in Windows Defender Firewall, trust the client certificate, and then browse and monitor tags from a remote OPC UA client.
Video: Enabling the OPC UA Server in KEPServerEX for Remote OPC UA Client Access by Greg EVA (2020). All credit for the demonstration goes to the creator; watch the original on YouTube. The written guide below was generated from this video by Docsie. Creator? Request a change or removal.
The OPC UA server interface in KEPServerEX lets remote systems connect to the server for client connections, diagnostics, or linking two OPC servers. This guide shows you how to enable the OPC UA server in Kepware for remote clients. You enable the host name endpoint, open the OPC UA port in Windows Defender Firewall, trust the client certificate, and then browse and monitor tags from a remote OPC UA client.
Prerequisites
Before you begin, make sure you have the following:
- The KEPServerEX Configuration application and a project that contains simulated or real data, with devices and tags already configured.
- Access to the Windows Start menu on the KEPServerEX machine. You may need to run the OPC UA Configuration utility as an administrator.
- Access to Windows Defender Firewall with Advanced Security on the same machine.
- A remote machine with an OPC UA client application, such as Prosys OPC UA Client. The client machine can run Mac, Windows, or Linux.
Enable the OPC UA server interface
Step 1: Open KEPServerEX and review your project
- Launch the KEPServerEX Configuration application.
- Open the project that contains your simulated or real data.
- Review the project tree and confirm that your devices and tags are configured.

Step 2: Check the OPC UA server channel status
- In the project tree, right-click your project.
- Locate the "OPC UA Server Channel" entry.
- Confirm that the "Server Interface" is enabled.
This area controls logging information only. It does not provide the full OPC UA server setup.
Step 3: Launch the OPC UA Configuration utility
You don't configure the OPC UA server interface in the KEPServerEX Configuration application. Minimize or close that window if needed, and then open the separate OPC UA Configuration utility.
- Open the Windows Start menu.
- Go to All Programs > Kepware.
- Select OPC UA Configuration.
- If prompted, right-click and choose "Run as administrator".

Step 4: Review the default OPC UA endpoints
In the OPC UA Configuration Manager, open the Server Endpoints tab. Two default endpoints appear:
opc.tcp://127.0.0.1:49320: the localhost endpoint, enabled by default. It allows local access to the OPC UA server interface and is used by OPC Quick Client.- A second endpoint that uses the actual host name of your machine. It is disabled by default for security.

Step 5: Enable the host name endpoint for remote access
- In the OPC UA Configuration Manager, locate the endpoint with your computer's host name, for example
opc.tcp://[hostname]:49320. - Select the Enabled check box next to this endpoint so remote clients can connect.

Step 6: Review trusted clients
- Click the Trusted Clients tab in the OPC UA Configuration Manager.
- Confirm that no trusted clients are listed. This means no remote clients have been approved yet.

Step 7: Reinitialize the OPC UA server runtime
After you enable the host name endpoint, you must restart the OPC UA server instance for the change to take effect.
- In the OPC UA Configuration Manager, select the endpoint and start a runtime reinitialize.
- Wait for the process to complete.
Step 8: Verify the runtime reinitialization
- Check the event log in the KEPServerEX Configuration application.
- Confirm that an entry shows the endpoint (for example,
opc.tcp://[hostname]:49320) is enabled and that runtime reinitialization is complete.

Step 9: Note the OPC UA server port
Identify the port the OPC UA server uses. The default is 49320. Write it down, because you need it for both client configuration and the firewall rule.
Allow the OPC UA port in Windows Defender Firewall
Step 10: Open Windows Defender Firewall with Advanced Security
- Launch Windows Defender Firewall with Advanced Security from the Start menu or Control Panel.
- Make sure the firewall is active for the Domain, Private, and Public profiles.
Step 11: Create a new inbound rule
- Select Inbound Rules in the left pane.
- Click New Rule... in the Actions pane on the right.

Step 12: Configure the rule for the OPC UA port
- In the New Inbound Rule Wizard, select Port as the rule type.
- Choose TCP as the protocol.
- Select Specific local ports and enter 49320.
- Click Next.

Step 13: Allow the connection
- In the Action step, select Allow the connection.
- Click Next.

Step 14: Restrict the rule to private and domain networks
- In the Profile step, make sure only Private and Domain are selected.
- Clear Public to avoid exposing the OPC UA server on internet-facing interfaces.
- Click Next.
Step 15: Name the firewall rule
- In the Name step, enter a descriptive name such as OPC UA Server Interface (KepWare).
- Optionally, add a description.
- Click Finish to create the rule.

Step 16: Verify the new firewall rule
- In Windows Defender Firewall with Advanced Security, sort the Inbound Rules list by name.
- Locate OPC UA Server Interface (KepWare).
- Confirm that the rule is enabled and set to Allow for the correct profiles.
Connect a remote OPC UA client
Step 17: Connect to the OPC UA server
- On a remote machine, open your OPC UA client application, for example Prosys OPC UA Client.
- Enter the server endpoint in the format
opc.tcp://[hostname]:49320, for exampleopc.tcp://geva1v2:49320. - Start the connection.
Step 18: Select security settings in the client
- When prompted, choose the available security mode and policy, for example Sign & Encrypt with Basic256Sha256.
- Click OK to continue.

Step 19: Handle the certificate error
If the server doesn't accept the client's application certificate, an error appears, for example "The server does not accept this application's certificate. Error=Bad_SecurityChecksFailed". Note the message and click Close. You trust the certificate on the server in the next steps.

Step 20: Find the client in the OPC UA Configuration Manager
- On the KEPServerEX machine, launch the "OPC UA Configuration Manager".
- Open the "Trusted Clients" tab.
- Verify that the client (for example,
ProsysOpcUaClient) appears in the list with its URI, for exampleurn:geva1v1:Jan-ProsysOpcUaClient.
The client may appear with a red X, which means its certificate is not yet trusted.

Step 21: Trust the client certificate
- Select the client entry, for example
ProsysOpcUaClient. - Click the "Trust" button at the bottom of the window.
A message at the bottom of the window states that you must reinitialize the server runtime to use the changes.

Step 22: Reinitialize the KEPServerEX runtime
- Open the KEPServerEX Configuration application.
- On the menu bar, select
Runtime, then chooseReinitialize.
This step disconnects all clients and resets the server, which applies the new certificate trust settings.

Browse and monitor tag data
Step 23: Reconnect and browse the address space
- Switch to the Prosys OPC UA Client on your client machine.
- Connect to the KEPServerEX OPC UA server using the endpoint URL, for example
opc.tcp://geva1v2.ptcnet.ptc.com:49320. - In the left pane, review the hierarchical tree of objects, types, and views.
- Select "Objects" to begin browsing available tags and nodes.
Step 24: Select tags to monitor
- Expand the "Objects" tree and go to the group you want, for example
AdvancedTags > 1-1_SinkingEDM. - Select a tag such as
Currentto view its attributes and references.
The right pane lists all components and their relationships.

Step 25: Monitor tag data and trends
Add tags such as Current to the data view. The upper section shows these details for each tag:
- NodeId, for example
ns=2;s=...AdvancedT...Current - DisplayName, for example
Current - Value, for example
1.4960392 - DataType, for example
Float - SourceTimestamp and ServerTimestamp, for example
04.02.2020 14:19:52.592 - StatusCode, for example
GOOD (0x00000000) - MonitoringMode, for example
Reporting - Graph, a check box that is selected for each tag
The lower section shows a real-time trend graph:
- Each monitored "Current" tag appears as a colored line, such as red or blue, over a 60-second window.
- The X-axis shows time, for example
14:19:25to14:19:50. - The Y-axis shows tag values, for example
1.4700to1.5225. - The legend at the bottom identifies each line as "Current".
Confirm that the graph updates in real time. Use the "Show data for (seconds)" field to adjust the time window. Make sure the "Subscription Enabled" and "Reporting" modes are active for all monitored tags so the data stays live.
Summary
You now know how to enable the OPC UA server in Kepware for remote access. You enabled the host name endpoint in the OPC UA Configuration Manager, reinitialized the runtime, and opened TCP port 49320 for Private and Domain networks. You then trusted the remote client's certificate and used Prosys OPC UA Client to browse and monitor live tag data.
Generation details: cost, quality tiers
Docsie billed 3,500 credits ($2.45) to analyze this 7-minute video at standard quality. The rewrite, template fill and Word/PDF exports were included. The same video at each quality tier:
| Quality | Frames sampled | Credits | Approx. cost |
|---|---|---|---|
| Draft | every 16-30 s | 1,750 | $1.22 |
| Standard (this guide) | every 8-15 s | 3,500 | $2.45 |
| Detailed | every 4-7 s | 7,000 | $4.90 |
| Ultra | every 1-3 s | 14,000 | $9.80 |
Credits priced at $0.70 per 1,000; plans include a monthly allowance. Enterprise customers on on-premise or bring-your-own-model deployments run this on their own inference and pay no per-video credits.
Generated by Docsie Video-to-Docs on 2026-11-24 from a 6-minute video. Screenshots are frames from the source video and belong to their creator, Greg EVA, whose original is embedded above. If you own this video and want the guide removed or credited differently, contact us and we will act within one business day.