我有一个运行 VS2013 负载测试 Controller 的 Windows Azure VM 和另一个运行 2013 负载测试代理的 Azure VM。
我无法让两者成功通信。我将每个虚拟机的主机名和 IP 添加到另一个虚拟机的 HOSTS 文件中。我还在两台计算机上创建了一个具有相同用户名和密码的本地管理员帐户。两台机器都没有加入域。我还为每个虚拟机创建了端口 6901/TCP 的端点。我能够从代理虚拟机远程登录到 Controller 虚拟机上的端口 6901。
当我应用测试代理配置设置时,它失败并显示“测试代理无法连接到测试 Controller ”。在代理配置日志中,我看到:
Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.
在事件查看器中,我看到:
Unable to connect to the controller on 'controllerVM:6901'. The agent can connect to the controller but the controller cannot connect to the agent because of following reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 168.62.XX.XX:6910. Make sure that the firewall on the test agent machine is not blocking the connection.
到目前为止我完全无法解决这个问题。我需要帮助。
最佳答案
您可以检查一下您的c:\windows\system32\drivers\etc\hosts 文件代理和 Controller 吗? 如果有一个条目分配给 127.0.0.1,请将其删除。
关于visual-studio - VS2013测试代理和 Controller 不通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20981451/