我已经安装了Visual Studio 2010 Remote Debugger在 Windows Server 2003 (x86) 服务器上,并尝试连接到它会导致以下错误:
Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'ServerName'. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. A firewall may be preventing communication via DCOM to the local computer. Please see Help for assistance.
我检查了我的 Windows 防火墙设置,并确保在我的本地计算机上启用了文件共享。我已确保 DCOM 以及调试服务正在服务器上运行。据我所知,没有涉及实际的防火墙。
我还需要更改什么才能使其正常工作?
最佳答案
我刚遇到连接问题。问题是客户端 PC(我的桌面)可以连接到运行调试监视器的远程主机,但远程主机无法将数据发送回我的桌面。
原来这是由 Windows 防火墙中的“配置文件”设置引起的。防火墙规则仅限于“公共(public)”配置文件 - 但我的桌面已连接到本地域。将设置更改为“域”可确保远程主机可以将调试数据传回客户端桌面。
检查 Windows 防火墙 -> 入站规则 -> Microsoft Visual Studio -> 高级选项卡。
干杯,
Ĵ
关于visual-studio-2010 - 配置 Visual Studio 2010 远程调试器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4923400/