调用 WCF 服务时出现 TCP 错误代码 10060
我有一个 Windows 服务正在调用同一服务器上的 IIS 托管的 WCF。这一直工作得很好,直到我们的虚拟服务器崩溃并必须重建。从那时起,当 Windows 服务尝试调用此 WCF 服务时,我一直收到“tcp 错误代码 10060”错误。
它给出的IP不存在,它是一个旧的IP地址。 IP 地址未在代码或配置文件中的任何位置指定。我可以从该计算机以及我调用它的任何其他计算机上的 IE 启动 WCF 服务。有人告诉我 DNS 没问题。
我还缺少其他什么地方吗?
I have a windows service that is making a call out to an IIS hosted WCF on the same server. This worked fine up until our virtual server crashed and had to be rebuilt. Ever since then I have been getting a "tcp error code 10060" error when the windows service tries to call this WCF service.
The IP that it gives does not exist, it is an old IP address. The IP address is not specified anywhere in code or in a config file. I can launch the WCF service from IE from that machine and any other machine that I call it from. I am told that DNS is fine.
Is there something else that I am missing somewhere?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明这是一个 DNS 问题,我们在 DNS 中有 2 个条目。
This turned out to be a DNS issue where we had 2 entries in DNS.