简体   繁体   English

无法通过VPN调试 - Visual Studio 2010

[英]Cannot debug over VPN - Visual Studio 2010

I have no trouble debugging from Visual Studio 2010 when I go to work and wire into the LAN. 当我上班并连接到局域网时,我可以顺便从Visual Studio 2010进行调试。

However, when I telecommute over the corporate VPN , I cannot debug, because when I try to debug, the monitor correctly shows a status of <datetime> CONNECTED, but Visual Studio 2010 comes back with the "Unable to connect ...The remote computer cannot connect back to this computer" message. 但是,当我通过公司VPN远程办公时,我无法调试,因为当我尝试调试时,监视器正确显示<datetime> CONNECTED状态,但Visual Studio 2010返回“无法连接...远程”计算机无法连接回此计算机“消息。

There is no change in procedure between debugging from home or debugging from work; 从家里调试或从工作调试之间的程序没有变化; it simply won't work over the VPN... 它根本不适用于VPN ......

The remote machine is my VM running on corporate servers someplace. 远程计算机是我在某个公司服务器上运行的VM。 I can ping my developer machine from the remote virtual machine, and I'm using Windows authentication mode. 我可以从远程虚拟机ping我的开发人员计算机,我正在使用Windows身份验证模式。 Both machines are Windows 7 64-bit. 这两台机器都是Windows 7 64位。

The application I wrote is deployed using the full-trust mode of ClickOnce . 我编写的应用程序是使用ClickOnce的完全信任模式部署的。

Why? 为什么?

Here's what was wrong: 这是错的:

Our corporate firewall allows remote clients to come in via SSLVPN and see everything at the corporation. 我们的企业防火墙允许远程客户通过SSLVPN进入并查看公司的所有内容。 What our firewall does not have is the reverse rule which allows computers already within the firewall to see remote clients as soon as they log in. 我们的防火墙没有的是反向规则 ,它允许防火墙内的计算机在登录后立即查看远程客户端。

Therefore, the machine being debugged, which was running MSVSMON.EXE, could not see the machine running the Visual Studio 2010 debugger. 因此,正在运行MSVSMON.EXE的正在调试的计算机无法看到运行Visual Studio 2010调试器的计算机。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM