确切地说,必须打开哪些端口才能使MSVSMON.exe(远程调试)正常工作? [英] Exactly what ports must be open for MSVSMON.exe (remote debugging) to work?

查看:188
本文介绍了确切地说,必须打开哪些端口才能使MSVSMON.exe(远程调试)正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要我的网络管理员打开防火墙上的端口以允许远程调试.它在MSDN上的文档中说它需要UDP135.但是,管理员说正在使用许多非标准的19xx端口.

I'm asking my network admin to open up ports on the firewall to allow remote debugging. It says in the documentation on MSDN that it needs UDP 135. However, the admin says that a number of non-standard 19xx ports are being used.

要进行远程调试,究竟需要哪些端口?

Exactly what ports are required for remote debugging to work?

推荐答案

您需要同时打开计算机和远程计算机上的端口.首先是TCP 135,而不是UDP 135.

You need to open ports on both your computer and the remote computer. Primarily it's TCP 135 not UDP 135.

所有端口和步骤均在此处列出:

All the ports and steps are listed here:

http://msdn.microsoft.com/en-us/library/h0d7tte4(v=vs.120).aspx

您可以将管理员"链接到该页面.如果您没有IPSec规则,则基本上可以归结为:

You can link your Admin to that page. If you don't have IPSec rules it basically comes down to:

您的PC: TCP 135

Your PC: TCP 135

远程PC: TCP 135,TCP 139,TCP 445,UDP 137和UDP 138

Remote PC: TCP 135, TCP 139, TCP 445, UDP 137, and UDP 138

更新:在更新链接时对其进行修复.注意,在Visual Studio 2010和Visual Studio 2012+之间,远程调试传输发生了显着变化.以上端口适用于VS2010.单击链接以查看有关VS2012 +的更多信息.

Update: Fix the link as it was updated. Note, Remote Debugging transport changed significantly between Visual Studio 2010 and Visual Studio 2012+. The above ports should work for VS2010. Follow the link to see more information on VS2012+.

这篇关于确切地说,必须打开哪些端口才能使MSVSMON.exe(远程调试)正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆