.Net Remoting,防火墙问题

发布于 2024-08-21 19:49:36 字数 334 浏览 5 评论 0原文

我有一个在 Windows 2003 Server 上侦听的 .NET 远程处理服务。据我所知,Windows 防火墙已正确配置,可以让远程应用程序的信息出去。

在我的 PC 中,我有通信的另一部分,尝试执行远程对象中的方法。理论上,没有防火墙可以干扰,但会抛出此异常:

SocketExcepcion (Error produced during the connection try, etc.)

我已经使用 Microsoft 网络监视器捕获了流量,并且我看到了“服务器和客户端”之间发生的流量。

想法?任何帮助将不胜感激。

谢谢!

I have a .NET remoting service listening on a Windows 2003 Server. As far as I know, the Windows Firewall is properly configured to let the information of the Remoting Application go out.

In my PC I have the other part of the communication, trying to execute methods that lives in the Remoting object. In theory, there are not firewalls that can interfere, but this exception is thrown:

SocketExcepcion (Error produced during the connection try, etc.)

I've captured traffic with Microsoft Network Monitor, and I've seen traffic going on between "server and client".

Ideas?. Any help would be very appreciated.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小清晰的声音 2024-08-28 19:49:36

好吧,Windows Remoting(WCF 的前身)相当有限,因为存在防火墙问题...基本上,它无法与防火墙一起工作,即使您在防火墙上打了一个洞,问题是 NAT IP 地址,因此您可能会收到连接超时套接字错误消息。它可能会帮助您并再次确保通过允许流量重定向可以轻松解决问题,我已经写了一篇关于 CodeProject 这可能会对您有所帮助。您可以做的就是将应用程序放在防火墙所在的端点上,输入公开面向互联网的IP地址,然后输入要重定向到远程服务器的IP地址。

如果您愿意,请随时与我联系,
希望这有帮助,
此致,
汤姆.

Ok, Windows Remoting (the predecessor to WCF) is quite limiting as there are firewalling issues...basically, it will not work with a firewall, even though you have punched a hole in the firewall, the problem is the NAT'ting of the IP addresses, hence likely, you're getting a connection timed out socket error message. It might help you and re-assure that the problem may easily be remedied by allowing the traffic to be redirected, I have written an article on CodeProject which may help you. What you can do is put the application on the end point where the firewall is, put in the IP address that is facing publicly to the internet, and put the in the IP address that is to be redirected to the remoting server.

Feel free to contact me anytime if you so wish,
Hope this helps,
Best regards,
Tom.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文