[英]Remote Debugging in Visual Studio 2017
I am trying to do Remote debugging using Visual Studio 2017 我正在尝试使用Visual Studio 2017进行远程调试
I downloaded the Remote Tools for Visual Studio 2017 and installed it in the remote server. 我下载了Visual Studio 2017的远程工具并将其安装在远程服务器中。 In the remote server firewall, I configured to allow Inbound & outbound for
msvsmon
. 在远程服务器防火墙中,我配置为允许
msvsmon
入站和出站。 I also allowed inbound for 我也允许入境
135, 139, 445 TCP
137, 138,500, 4500 UDP
In my machine I configured Firewall to allow Inbound and outbound for Visual Studio 2017 在我的机器中,我将防火墙配置为允许Visual Studio 2017的入站和出站
In the visual studio, attach to process, I tried the below 在视觉工作室,附加到过程,我尝试了下面
I also tried using default connection type, but it is not able to connect to the remote machine. 我也尝试使用默认连接类型,但它无法连接到远程计算机。 What am I missing?
我错过了什么?
I am adding few more details 我正在添加更多细节
the remote machine is running Windows Server 2012 R2 My machine is running on Windows 10, I am using Visual studio 2017 远程机器正在运行Windows Server 2012 R2我的机器在Windows 10上运行,我使用的是Visual Studio 2017
This is the error message that I am getting 这是我收到的错误消息
I am running the msvsmon as administrator in the remote machine 我在远程计算机上以管理员身份运行msvsmon
In the server msvsmon is showing the server name:port Number
, but in the visual studio I am connecting using its ip:port number
. 在服务器中,msvsmon显示
server name:port Number
,但是在我使用其ip:port number
连接的visual studio中。 Hope that is ok 希望没关系
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.