You are trying to use the Command Line Scanner directly on the Scan Engine server to scan a file. You instead receive a message saying it is unable to connect.
When logging the scan (with the parameter –log), the log will end with -2
Depending on some environmental variables, about 20 or more lines above the end of the log file the error appears. “Error: unable to connect to the Scan Engine”.
There are multiple causes for this error:
Verify that the scan engine service is started:
Check the protocol settings:
Increase the number of ephemeral TCP ports on the Windows computer where Command Line Scanner is installed:
=> Warning <=
Increasing the number of ephemeral TCP ports requires that a modification to the registry is done. Symantec does not accept any responsibility for modifications to the registry.
Please make sure that you follow these steps carefully. It is highly recommended to backup the registry before you modify it.
For more information about how to back up and restore the registry, please read the following Microsoft Knowledge Base How to back up and restore the registry in Windows
NOTE: Symantec provides these links as a convenience only. The inclusion of such links does not imply that Symantec endorses , recommends, or accepts any responsibility for the content of such sites.