Use the search and browse feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Search Solutions Results By: View All Solutions

Kepware Knowledge Base: Solution

Specifying Ports Used by OPC Classic

Last Update: 11/7/2018

Remote connections using OPC Classic require the use of Microsoft Remote Procedure Call (RPC) technology, which uses dynamic ports. This makes firewall configuration difficult for hardware, since the application itself cannot be added by name.

Although there is no direct solution, it is possible to limit the dynamic range used by RPC. This will make it more firewall-friendly. For more information, refer to Microsoft's How to configure RPC dynamic port allocation to work with firewalls.

Note: Users should be careful when limiting the dynamic port range to prevent port exhaustion. It is recommended that users consult with Information Technology before doing so.