What should be checked when SilkTest generates a "Socket connection refused" error during remote testing?
- Check that the port being used is not already in use by a different application. To find out which ports are in use by the machine, go to the command prompt and type netstat -a and press enter. If the port is in use by another application, then make sure it is changed in both Agents, on the host and target machines.
- Open the Runtime Options and select "Local" for Agent Name. Then in the script, try connecting via Connect("machine name").
- Try using the machine"s "IP address" instead of "Machine Name"
- Check that the network connection is sound, by pinging the machines in question both to and from.
- Check the Options Runtime locally to ensure that everything is correctly set up. Ensure that the Agent Name = none and that the Network Protocol is set to whatever network being used, i.e. TCP/IP
- Ensure that the Agent on the remote machine is also correctly set to the Network Protocol.