使用静态IP地址的服务器上进行远程调试ASP.NET应用程序 [英] Remote debugging ASP.NET applications on a server with static IP address

查看:159
本文介绍了使用静态IP地址的服务器上进行远程调试ASP.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有的基于Web的例子假设我们要远程调试是在同一网络上的远程服务器。我只有一个静态IP地址,并使用 RDP 我连接到服务器。

All of examples on web assume the remote server which we are going to debug remotely is on the same network. I have only a static IP address and using RDP I connect to server.

我已经安装了远程调试器远程计算机上,但不能设置静态IP地址预选赛在Visual Studio - >调试 - >附加到进程

I've installed Remote Debugger on remote machine but cannot set the static IP address as Qualifier in visual studio -> debug -> attach to process

推荐答案

在msvsmon显示的用户名@计算机名构造是需要进入Visual Studio中的限定符框中的文本 - >附加到进程

The username@machinename construct displayed in msvsmon is the text that needs to go into the Qualifier box in Visual Studio -> Attach to Process.

例如,在msvsmon说:

For example, where msvsmon says:

msvsmon started a new server named 'tf@macmini'. Waiting for new connections.

您可以键入TF @ macmini进入预选赛框。

you would type tf@macmini into the qualifier box.

有关在互联网上的机器了,我猜你使用的用户名@ [IP地址在这里],例如

For a machine out on the internet, I'd guess you use username@[ip address here], e.g.

tf@123.234.32.1

虽然你将需要确保在最低限度,防火墙和身份验证设置是否正确。 (调试将不通过RDP发生。)有这个文章这里。不记得了什么认证涉及到顶部,尽管我怀疑作为最低则需要使用相同的用户名和密码,在两台机器上的帐户。

Though you will need to make sure, at a minimum, firewalls and authentication are set up correctly. (The debugging will not occur via RDP.) There's an article on the firewall side of this here. Can't remember off the top what the authentication involves, although I suspect as a minimum you will need an account on both machines with the same username and password.

这篇关于使用静态IP地址的服务器上进行远程调试ASP.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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