We’ve had a couple of questions about this, so I thought I’d make a post to help provide some clarification. Regarding the following from our documentation:
The Service Manager doesn’t appear to be connected to much directly (via a line), at least according to the diagram provided under, “Set-up Firewall and Port Configuration” on the page referenced above. With this in mind, there is some additional information that we can provide.
An Agent starts and first attempts contact with the CP via the setting that is specified in its .ini file (cp=). When you start server processes or agents via the User Interface or with the script element MODIFY_SYSTEM, the WP selects a CP and then the CP contacts the responsible Service Manager over port 8871. When starting via the Service Manager Dialog, a connection is attempted over the port defined for the Service Manager (default 8871) to the computer/phrase requested via the Dialog. If the connection is made, the Service Manager on the machine where the Agent resides should then be able to start the Agent, after which the Agent will communicate its status to the Automation Engine via port 2217 by default if it can establish a connection.
Additional input is welcome and appreciated.