进行安装。安装"远程桌面连接时黑屏 Web 连接"时,

&&& 我们在之前的文章中实现了RemoteApp的部署,配置及测试(1,2,3,4)。RemoteApp使用的协议是大家非常熟悉的RDP协议,RDP协议使用的是3389端口。一般情况下在内网使用3389端口是没问题的,但有些企业的对3389端口会限制使用,甚至有些电信部门也会限制3389端口的连接。如果遇到限制3389端口的环境,我们可以考虑把RDP协议封装在HTTPS协议中。这样我们在互联网上使用RemoteApp会更加方便,不用担心遭到封杀;而且我们可以使用浏览器作为客户端工具,这样对特定环境的要求就降低了很多,毕竟在当前的互联网环境下浏览器是一个非常容易获取的通用工具。
  想让客户机通过浏览器访问RemoteApp服务器,我们可以通过远程桌面Web访问组件来实现。远程桌面Web访问组件其实是IIS7中的一个虚拟目录,用户通过访问这个虚拟目录就可以重定向到RemoteApp服务器。实验拓扑如下图所示,我们准备在TSERVER上部署远程桌面Web访问组件,实验步骤如下。&
  一 部署远程桌面Web访问组件
  我们首先在TSERVER上部署远程桌面Web访问组件。在TSERVER上打开服务器管理器,如图1所示,点击左侧的"角色",在右侧操作栏中可以看到远程桌面的角色服务。从图中可以看到,远程桌面Web访问尚未安装,点击"添加角色服务",准备添加远程桌面Web服务。&
  如图2所示,在角色服务中勾选"远程桌面Web访问",角色向导提示我们这个角色服务需要IIS组件的支持,点击"添加所需的角色服务",这样在安装远程桌面Web访问时就可以自动安装所需的IIS组件。&
  如图3所示,向导列出了所需的IIS组件,这些组件不需要调整,直接点击"下一步"继续。&
  如图4所示,确认要进行的组件安装正确无误,点击"安装"开始正式的组件安装。&
  远程桌面Web访问安装的过程非常简单,如图5所示,点击"关闭"按钮就可以结束组件安装了。&
? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ?
标王热词推荐
? ? ? ? ? ? ? ?相关文章推荐
你用过远程桌面连接吗?
我相信很多人都用过了,远程桌面现在可以用在Window Xp和Windows 2003 Server上面。而这两者都是会自己带有远程桌面连接,位置是:开始|所有程序|附件|通...
在多线程中对DataGridView指定 DataSource 来填充数据,更新数据的时候,会导致DataGridView出现假死,显示错误或者滚动条无法显示的问题,在保证了DataGridView的...
dataGridView1.ClearSelection();
dataGridView1.Rows[0].Selected =
第一个可以在Load事件中写,第二个必须是绑定数...
最近在网上找到了一个开源的web rdp引擎,可以参考一下,通过界面介绍,感觉好不错。
http://guac-dev.org/
最近一直在琢磨如何方便部署和开发堡垒机,li...
在Windows 2000 Server时代,运用其内置的“终端服务”功能使我们可以对服务器进行远程操作和控制;利用Windows Server 2003新增的“远程桌面”使得远程控制更为方便。但它们...
最近工作用到Web连接远程桌面,查找资料发现MsRdpClient都是vbscript写的。由于不太熟悉vbscript ,只能一点点改成js。。 下面是具体代码,希望给需要的人一些帮助~~
他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)让IIS完美支持“远程桌面Web连接”功能;相信管理过服务器的读者都知道在Windows20;一、浏览器遥控Windows2003的前提;在众多操作系统版本中只有Windows2003具;因此我们了解到要想打破陈规用浏览器遥控服务器,首;二、安装“远程桌面Web连接”“远程桌面Web连;第一步:一般来说Windows2003系统在安装;第二步:在弹出的Win
让IIS完美支持“远程桌面Web连接”功能 相信管理过服务器的读者都知道在Windows 2000 server,XP,2003中有一个系统自带的名为远程桌面连接的控制程序,通过他可以帮助我们利用网络来远程管理服务器,所有操作都好象在本机进行一样。虽然“远程桌面”使得远程控制更为方便,但它们有一个共同的缺点,那就是在客户端必须安装相应的客户程序方可连接。如果没有安装这个连接程序再高明的网络管理员也难为无米之炊。不过今天笔者则要打破陈规用浏览器来远程遥控Windows 2003,从而省去安装客户程序的操作,让远程桌面应用场合更加广泛。
一、浏览器遥控Windows 2003的前提
在众多操作系统版本中只有Windows 2003具备这种通过浏览器远程遥控系统操作的功能,因为在Windows 2003中新添加了名为“远程桌面Web连接”的功能。他可将所有的设置都在服务器端完成,而客户端无需安装任何程序和做任何设置。我们要做的就是直接打开浏览器,在地址栏中输入相应的服务器地址,再输入合法的用户名和口令,就可以如同在本地一样操作远端的服务器。这样,使得我们的远程控制变得更加方便和安全。
因此我们了解到要想打破陈规用浏览器遥控服务器,首先要保证服务器上安装的操作系统为Windows 2003,接下来还需要我们安装“远程桌面Web连接”组件。
二、安装“远程桌面Web连接”
“远程桌面Web连接”组件是集成在IIS中的功能,系统默认是没有安装的,需要我们手动安装。
第一步:一般来说Windows 2003系统在安装完都会默认安装IIS组件,不过“远程桌面Web连接”功能是不包含在内的。因此我们需要将其添加到Windows 2003系统中。方法是在服务器上通过“开始->控制面板->添加/删除程序”,选择添加删除WINDOWS组件。
第二步:在弹出的Windows组件向导窗口选择“应用程序服务器”。之后选择“internet信息服务(IIS)”,双击该服务打开具体配置信息(如图1)。
第三步:在“Internet信息服务(IIS)”设置窗口中找到“万维网服务”,双击该服务进一步打开具体配置内容(如图2)。
第四步:“万维网服务”中包含了很多功能,而其中的“远程桌面WEB连接”才是我们需要添加的,在其前头打上对勾,然后确定即可。在我们把该组件安装到本地硬盘时需要放入WIN2003系统光盘(如图3)。
小提示:使用远程管理还有一个前提条件,要求远程管理工具必须安装在用NTFS文件系统格式化的分区中。如果是其他格式的文件系统会出现报错信息。所以我们要将Windows 2003所在的系统分区转换为NTFS格式。
至此我们就完成了安装“远程桌面Web连接”功能的工作,当然要让其顺利运行还需要进行简单的配置。
让IIS完美支持“远程桌面Web连接”功能
既然本次操作的主要目的就是能够实现浏览器控制远程服务器的功能,所以需要我们对IIS进行设置,保证远程计算机可以通过网络顺利访问IIS发布的远程桌面WEB连接站点。
第一步:配置IIS管理器,同样要求我们通过添加删除程序的添加删除Windows组件,然后选择应用程序服务器,将“Internet信息服务(IIS)”里的“Internet 信息服务管理器”前打上对勾。之后放入系统光盘安装相应组件。
第二步:安装完毕后通过任务栏的“开始->管理工具->internet 信息服务管理器”来配置IIS信息,在默认网站上点鼠标右键选择“属性”。为服务器设置一个固定IP地址,例如设置了服务器的IP地址为10.82.0.29。这样网络其他计算机访问服务器时也将使用此IP浏览和登录,之后我们完成服务器端的所有设置工作(如图4)。
当然我们最好在本机测试下服务的运行状况,在服务器上打开浏览器,地址处输入http://127.0.0.1/tsweb然后回车,如果能够看到基于WEB页面的远程桌面登录界面则说明一切顺利。
四、“远程桌面Web连接”功能的使用
“远程桌面Web连接”功能方便我们在网络的另一端不通过任何客户端程序而直接使用浏览器方式来管理服务器。只需要输入正确的浏览器地址即可,另外如果服务器有自己的DNS域名的话,通过域名直接访问也是没有任何问题的。
第一步:服务器设置完毕后我们在客户端没有安装任何远程桌面连接程序的情况下,启动IE浏览器在地址处输入http://10.82.0.29/tsweb后回车就会出现要求安装remote desktop activex control组件的提示,我们像安装其他控件一样安装该组件即可,之后就会出现远程桌面WEB连接的界面了(如图5)。
小提示:我们还可以在图5界面中选择远程桌面连接的分辨率和颜色数。在网络不是很理想的情况下通过降低分辨率和颜色数来提高远程遥控的速度和效果是网络管理员最常用的办法。
第二步:在服务器名称处输入我们服务器的主机名,然后点“连接”按钮。就会出现远程桌面连接的登录界面了,输入正确的服务器用户名和密码成功进入服务器进行操作和在本地使用远程桌面连接程序登录进行管理没有任何区别。
第三步:所有操作都是在IE浏览器窗口中完成的,真正实现了打破陈规用浏览器遥控Windows 2003的功能,这样就再也不用为没有合适的客户端程序而烦恼了。
小提示:“远程桌面Web连接”要求使用访问者使用的浏览器为Internet Explorer 4.0或更高版本,当然笔者也测试了其他主流浏览器例如Firefox火狐等,在访问和控制上都没有任何问题。
五、进阶功能修改被遥控服务器的端口
虽然通过上面的设置我们可以顺利的管理和访问基于远程桌面服务默认端口3389的服务器,不过很多时候由于防火墙或访问控制列表等过滤手段的存在,三亿文库包含各类专业文献、生活休闲娱乐、文学作品欣赏、应用写作文书、中学教育、各类资格考试、幼儿教育、小学教育、行业资料、98让IIS完美支持“远程桌面Web连接”功能等内容。 
 想让客户机通过浏览器访问 RemoteApp 服务器,我们可以通过远程桌面 Web 访问组件...其实我们现在从图 1 中可以看到,当前的 IIS7 中已经有了一 个服务器证书 t...  这个功能被称为远程桌 面 web 连接(Remotedesktopwebconnection),要享有此功能,...让IIS完美支持“远程桌面... 10页 免费
远程桌面WEB方式连接及应... 8页 ...  远程桌面 Web 访问组件其实是 IIS7 中的一个虚拟目录,用户通过访问这个虚拟目录...让更多的人能用到这个功能 开始安装 关闭并重启 Tserver 2.2 在 Tserver 上...  http://yuelei./291 图1 如图 2 所示,在角色服务中勾选“远程桌面 Web 访问”,角色向导提示我 们这个角色服务需要 IIS 组件的支持,...I am trying to test a client Windows CE / Compact Framework (.NET 3.5) app on handheld devices (Motorola/Symbol 3090 and 3190), but, although a "fake" client attaches and works fine on the desktop, the client app on the desktop fails to connect - it gets a 400 Not Found error when trying to call a RESTful Web API method.
This is with the server / Web API app running in Visual Studio, hosted by the built-in / scaled-down version of IIS.
Is this to be expected (not connecting)? If not, what might the problem be?
Note: I had to mash Ctrl+Shift+Enter after entering "cmd" in the Start > Run box (otherwise I get "The requested operation requires elevation (Run as administrator)"). But note the fingerwag I got after running the second command (copied from the command shell):
netsh http add urlacl url=http://192.76.42.42:80/ user=everyone
URL reservation successfully added
netsh firewall add portopening TCP 80 IISExpressWeb enable ALL
So since it "executed successfully" I'm fine - don't have to worry about redoing it, correct? I take it that the fingerwag is a "I know what you meant, and I took care of it for you, but next time you do this, do it this other way..." type of message.
Apparently it is doch applicationhost.config, in C:\Users\clay\Documents\IISExpress\config, not application.config in the project.
I had this there:
&site name="HandheldServer" id="20"&
&application path="/" applicationPool="Clr4IntegratedAppPool"&
&virtualDirectory path="/" physicalPath="C:\HandheldServer\HandheldServer" /&
&/application&
&bindings&
&binding protocol="http" bindingInformation="*:28642:localhost" /&
&/bindings&
and changed it to this (IP Address changed):
&site name="HandheldServer" id="20"&
&application path="/" applicationPool="Clr4IntegratedAppPool"&
&virtualDirectory path="/"
physicalPath="C:\HandheldServer\HandheldServer"/&
&/application&
&bindings&
&binding protocol="http" bindingInformation="*:80:176.111.222.42" /&
&/bindings&
I stopped and started IIS by entering "iis" at the command line and selecting "Stop" and then "Start" in IIS Manager (I'm hoping/assuming that restarting IIS is the same thing as "restart your IIS Express" mentioned by Jeow below), but I still get "Unable to connect to the remote server" when I try to run the client app on the handheld (with the server ASP.NET Web API app running on the desktop, started from Visual Studio 2013).
Do I need to start that app elsehow than from VS? If so, how? When running it via F5 from VS, the page that opens is on port 28642.
My IIS applicationhost.config file now has this for this app:
&bindings&
&binding protocol="http" bindingInformation="*:80:176.112.111.25" /&
&binding protocol="http" bindingInformation="*:28642:localhost" /&
&binding protocol="https" bindingInformation="*:44300:localhost" /&
&/bindings&
where the first binding is my desktop IP address, the second one is the port VS uses when running this app, and the fourth one is the ssl version (not used yet, at least not deliberately).
The middle one is the one that can be seen in the
browser (the "Home Page" with the ASP.NET verbiage/placeholder text).
So I'm wondering if I need to start this app externally from VS and/or need to remove one or more of these binding entries in applicationhost.config.
Silly me! I had not changed the code in the client to reference the IP address as opposed to localhost. So I changed this:
const string uri = "http://localhost:28642/api/inventoryItems";
...to this:
const string uri = "http://192.112.442.13:80/api/inventoryItems";
...in the client, but it still doesn't work (although it works differently); I now get, "The remote server returned an error: (404) Not Found."
Should I not have the "80" there, or...???
and the binding in applicationhost.config should be like so, correct:
binding protocol="http" bindingInformation="*:80:192.112.442.13"
I tried removing the port number (80), and still get the "404" error...
I finally got past that error, but two things were different, so I'm not sure whether it was one, the other, or perhaps a combination of both.
One) I deployed directly from VS 2008 by selecting "Windows CE Device" in the Target Device comboBox. I had been building the project and then copying the .exe to the handheld device via Windows Exploder.
The Other) I also changed the URL I was using in the code from my IP Address to my machine name, IOW from:
const string uri = "http://192.112.483.97:80/api/platypups";
const string uri = "http://DBPlatypus/api/platypups";
So...I am now connecting to the server and its RESTful method!
The entries in applicationhost.config are now:
&binding protocol="http" bindingInformation="*:PLATYPUS" /&
&binding protocol="http" bindingInformation="*:28642:localhost" /&
And now it's back to the 404 Not Found error. That was a short-lived "voila"! Que sera sera, I reckon...it seems to be related to a new err msg, namely, "Unable to launch the IIS Express Web server"
Okay, in applicationhost.config, I changed this:
&bindings&
&binding protocol="http" bindingInformation="*:DBPlatypus" /&
&binding protocol="http" bindingInformation="*:28642:localhost" /&
&binding protocol="https" bindingInformation="*:44300:localhost" /&
&/bindings&
&bindings&
&binding protocol="http" bindingInformation="*:28642:localhost" /&
&binding protocol="http" bindingInformation="*:80:192.112.184.42" /&
&/bindings&
...and I got IIS Express back...but why? Maybe it's true that the name (as opposed to the IP Address) was confusing IIS Express... I'm still getting the 404 Not Found error, though...
const string uri = "http://DBPlatypus:80/api/platypusBills";
const string uri = "http://DBPlatypus/api/platypusBills";
const string uri = "http://192.112.184.42:80/api/platypusBills";
const string uri = "http://192.112.184.42/api/platypusBills";
解决方案 You need to configure your IIS Express to serve your application on your IP address. By default, it only respond to localhost, which your Mobile emulator/device cannot see.
Look at 1. Getting IIS Express to serve externally over Port 80 section in
Quoted from the site
Run the following in command line
netsh http add urlacl url=http://hanselman-w500:80/ user=everyone
netsh firewall add portopening TCP 80 IISExpressWeb enable ALL
Add to applicationHost.config
&binding protocol="http" bindingInformation="*:80:hanselman-w500" /&
Then restart your IIS Express.
Run ipconfig in command line to get your current IP address, and replace hanselman-w500 with that IP address.
本文地址: &
我想测试客户端的Windows CE / Compact Framework的(.NET 3.5)应用在手持设备(摩托罗拉/符号),但是,虽然“假”的客户端和附加在桌面上正常工作时,桌面上的客户端应用程序连接失败 - 它会试图调用基于REST的Web API方法时,一个400 Not Found错误这是在Visual Studio中运行的服务器/网络应用程序的API,通过IIS的内置/缩小版主办。这是可以预期的(未连接)?如果不是,可能是什么问题呢?更新请注意:我不得不醪按Ctrl + Shift +在开始输入“CMD”后回车>运行对话框中(否则我得到的“请求的操作需要提升(以管理员身份运行)”)。但是请注意我在运行第二个命令(在命令行复制)后,得到了fingerwag: 的netsh的http添加urlacl URL = HTTP://192.76.42.42:80 /用户=大家 成功添加URL保留
netsh防火墙加portopening TCP 80 IISEx pressWeb使ALL 所以,因为它“成功地执行”我很好 - 不必担心它重做,正确吗?我认为,fingerwag是“我知道你的意思,我照顾了它适合你,但下次你这样做的时候,做这种其他的方式...”消息的类型。更新2 显然,这是多奇对ApplicationHost.config,在C:\\用户\\粘土\\文档\\ IISEx preSS \\ config中,而不是在项目application.config 我有这个有: <网站名称=“HandheldServer”ID =“20”>
&应用路径=“/”applicationPool =“Clr4IntegratedAppPool”>
< virtualDirectory路径=“/”physicalPath =“C:\\ HandheldServer \\ HandheldServer”/>
< /用途&
<&绑定GT;
<绑定协议=“HTTP”bindingInformation =“*:28642:本地主机”/>
< /绑定>< /网站> 和它改变了这个(IP地址已变更): <网站名称=“HandheldServer”ID =“20”>
&应用路径=“/”applicationPool =“Clr4IntegratedAppPool”>
< virtualDirectory路径=“/”
physicalPath =“C:\\ HandheldServer \\ HandheldServer”/>
< /用途&
<&绑定GT;
<绑定协议=“HTTP”bindingInformation =“*:80:176.111.222.42”/>
< /绑定>< /网站> 更新3 我停了下来,通过输入“IIS”,在命令行,并选择在IIS管理器“停止”,然后在“启动”启动IIS(我希望/假定重新启动IIS是一样的东西“重新启动您的IIS前preSS“的Jeow下文)提及,但我仍然得到”无法连接到远程服务器“当我尝试运行在手持设备上的客户端应用程序(在桌面上运行的服务器的ASP.NET Web API应用程序,从Visual Studio 2013年)开始。我是否需要启动该应用elsehow比VS?如果是这样,怎么样?当通过F5从VS运行它,在打开的页面上的端口28642。我的IIS ApplicationHost.config文件中,现在有这样为这个应用程序: <&绑定GT;
<绑定协议=“HTTP”bindingInformation =“*:80:176.112.111.25”/>
<绑定协议=“HTTP”bindingInformation =“*:28642:本地主机”/>
<绑定协议=“https”开头bindingInformation =“*:44300:本地主机”/>< /绑定> 其中第一个绑定我的桌面IP地址,第二个是运行这个程序的时候,而第四个是SSL版本(尚未使用,至少不会故意)。 VS使用的端口,中间的是一个可以在浏览器(以下简称“主页”与ASP.NET空话/占位符文本)可以看出。所以我想知道如果我需要从外部VS启动这个程序,和/或需要删除这些表项的一个或多个对ApplicationHost.config。更新4 我傻!我没有改变code在客户端引用的IP地址,而不是为localhost。于是我改变了这一点: 常量字符串的uri =“HTTP://本地主机:28642 / API / inventoryItems”
...这样: 常量字符串的uri =“http://192.112.442.13:80/api/inventoryItems”;
...在客户端,但它仍然无法正常工作(尽管它工作的区别的);我现在得到“的远程服务器返回错误:(404)未找到的”我应该的不的有“80后”有,还是......? 和在对ApplicationHost.config结合应该像这样,正确的:绑定协议=“HTTP”bindingInformation =“*:80:192.112.442.13”
我试着删除的端口号(80),而且还获得了“404”错误... 更新5 我终于得到了过去的错误,但两件事情是不同的,所以我不知道它是否是一个,另一个,或者两者的结合。一)我通过在目标设备下拉框中选择“Windows CE设备”直接部署从2008年VS。我一直在建设的项目,然后通过Windows爆复制的.exe到手持设备上。另一个)我也改变了我使用了code中的网址从我的IP地址到我的机器名,IOW来自: 常量字符串的uri =“http://192.112.483.97:80/api/platypups”;
...为: 常量字符串的uri =“HTTP:// DBPlatypus / API / platypups” 所以...我现在连接到服务器和REST风格的方法! 在对ApplicationHost.config中的条目现在是: <绑定协议=“HTTP”bindingInformation =“*:鸭嘴兽”/><绑定协议=“HTTP”bindingInformation =“*:28642:本地主机”/> 更新6 而现在又回到了404 Not Found错误。这是一个短命“瞧!”顺其自然,我想......这似乎是关系到一个新的错误信息,即“无法启动IIS前preSS Web服务器”更新7 好吧,在对ApplicationHost.config,我改变了这个: <&绑定GT;
<绑定协议=“HTTP”bindingInformation =“*:DBPlatypus”/>
<绑定协议=“HTTP”bindingInformation =“*:28642:本地主机”/>
<绑定协议=“https”开头bindingInformation =“*:44300:本地主机”/>< /绑定> 到 <&绑定GT;
<绑定协议=“HTTP”bindingInformation =“*:28642:本地主机”/>
<绑定协议=“HTTP”bindingInformation =“*:80:192.112.184.42”/>< /绑定>
......,我得到了IIS防爆preSS回来...但是为什么呢?也许这是真的,名称(相对于IP地址)混淆了IIS防爆preSS ......我仍然得到404 Not Found错误,但...
常量字符串的uri =“HTTP:// DBPlatypus:80 / API / platypusBills”常量字符串URI =“HTTP:// DBPlatypus / API / platypusBills”常量字符串URI =“http://192.112.184.42:80/api/platypusBills”;常量字符串URI =“http://192.112.184.42/api/platypusBills”; 解决方案 您需要配置IIS前preSS服务您的IP地址申请。默认情况下,只响应本地主机,你的手机模拟器/设备不能看。看1章IIS防爆preSS从外部为超过港的从网站引用 运行在命令行下netsh的HTTP添加urlacl URL = HTTP:// Hanselman的-W500:80 /用户=大家netsh防火墙添加portopening TCP 80 IISEx pressWeb使ALL加入的applicationHost.config<绑定协议=“HTTP”bindingInformation =“*:80:Hanselman的-W500”/> 然后重新启动IIS前preSS。编辑:执行ipconfig,在命令行中获得当前IP地址,该IP地址替换Hanselman的-W500。
本文地址: &
扫一扫关注官方微信Win2008学习(十),Remote App的Web访问
<span type="1" blog_id="1332436" userid='
分享到朋友圈
喜欢我的文章,请分享到朋友圈

我要回帖

更多关于 远程桌面连接时 对方 的文章

 

随机推荐