简体   繁体   English

无法从Windows服务连接到远程服务器

[英]Unable to connect to the remote server from Windows service

当我尝试从本地计算机上安装的.Net Windows服务连接到远程服务器时,它可以正常工作,但是当将Windows服务安装在安装了Web应用程序的同一服务器上时,会出现以下错误:

"Unable to connect to the remote server"

There are many possible reasons for this. 有很多可能的原因。
But this is a guessing game with multiple combinations of choices and paths since you did not describe the context well (which Windows, editions and versions, etc.). 但这是一个猜谜游戏,具有多种选择和路径组合,因为您没有很好地描述上下文(Windows,版本和版本等)。

One of the possible reasons is "Loopback check" security feature in Windows: http://support.microsoft.com/kb/896861 可能的原因之一是Windows中的“环回检查”安全功能: http : //support.microsoft.com/kb/896861

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

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