Skip to main content
InSource KnowledgeCenter

027244 - How does AF select ports?


The customer is finding that AF is using different ports each time it is installed. How is this configured? They keep having to unblock ports to make it work for new machines.

Product Version: 9.2


I took your question to Wonderware and it looks like the port is dynamically created, but you may be able to use a custom port if you edit the ArchestraServer.lic. In all honesty I'm not 100% confident that this will work, but it is the only option if you would like to specify the port. Here is what Wonderware said, in particular the second half is what you'd be interested in: " The license server uses a default TCP/IP port range 27000-27009. These ports are opened in the Windows Firewall when the software is installed. You need to use a custom port only if you have configured your license server to run on a specific non-standard port. You can test that the connection itself is okay (e.g. not blocked by a firewall) by opening a command line on the client node and typing: telnet LICNODE 27000 Where LICNODE is the name of the license server node. Ports for ArchestrA License Server Answer: Two ports are generated or used by ArchestrA License Server, or also any AF clients One is between 27000 and 27009, or fixed in setting up license server in License Server Manager. The other one is dynamically generated, but can be also specified by adding PORT=xxxx in the ArchestrAServer.lic file e.g. VENDOR Wonderware aaLicServer.exe PORT=3333

Close Date: 2009-05-18 09:08:36