The WCC, ECLI (Enterprise Command Line Interface) does not seem to be able to run commands on the agent host:
Command: autoflags -a
The command could not be executed. Command processing exception encountered.
org.apache.http.conn.HttpHostConnectException: Connection to https://agent-hostname:5250 refused
While running the same command through WCC ECLI on the Server node works perfectly.
WA WCC release 11.3.x on Linux
The "Command Sponsor" is designed to work along with the "Application Server".
WCC ECLI "Enterprise Command Line Interface" is provided to run commands on the WA AE AutoSys "Server node" only.
You can use WCC ECLI to run commands on several AutoSys Servers where the "Command Sponsor" and "Application Server" run.