When trying to make a connection to a new Agent machine, the user is getting the following error:
Unable to connect to Agent "agent- servername" Agent login failed. Error code: -301
This error can happen for a variety of reasons. Some things to check are:
- Is the agent process running?
- Do the SCM Client (workbench) and SCM Agent have the same version of SCM and of PEC?
- Can the SCM Client machine successfully ping the SCM Agent machine?
- Can the SCM Client machine successfully telnet to the SCM Agent machine on the Agent’s listening port? (Most Windows machines have disabled telnet, but if you have “Putty” installed you can do this telnet test with that utility.)
- Is there a network firewall between the SCM Client machine and the SCM Agent machine?
- Is there any other application on the SCM Agent machine that uses the same port?