确定 CORBA 连接的远程端口
我有 corba 服务器和 corba 客户端运行在不同的主机上,并且服务器和客户端之间有防火墙。当客户端连接到服务器时,我发现服务器上使用了几个随机远程端口进行连接。 TCPView 输出:
java.exe 11816 TCPV6 xxx.domen.com 7000 xxx.domen.com 0 正在监听
java.exe 11816 TCP xxx 7000 localhost 61392 已建立
java.exe 11816 TCP xxx.domen.com 7000 xxx.domen.com 61393 ESTABLISHED
服务器中使用 OpenORB(Java),客户端中使用 IIOP.NET。 我需要确定可能使用的远程端口的服务器范围,以满足防火墙限制。
那么,问题是如何管理/确定服务器连接的远程端口?
聚苯乙烯 对我来说,满足防火墙限制的最佳方法是在客户端之间使用一个双向通道 和具有预定义端口的服务器。 聚苯硫醚 此解决方案 CORBA - JacORB:使用固定端口生成 IOR? 也合适,但我需要我的 orb 实现的解决方案(OpenORB(Java),IIOP.NET)
感谢您的帮助=)
I have corba server and corba client running on different hosts and there is firewall between server and client. When client connects to server I found that several random remote ports were used on server for connection.
TCPView out:
java.exe 11816 TCPV6 xxx.domen.com 7000 xxx.domen.com 0 LISTENING
java.exe 11816 TCP xxx 7000 localhost 61392 ESTABLISHED
java.exe 11816 TCP xxx.domen.com 7000 xxx.domen.com 61393 ESTABLISHED
OpenORB(Java) is used in server and IIOP.NET is used in client.
I need to determine server range of remote ports that may be used, to meet firewall limitations.
So, the question is how can I manage/determine remote ports for server connections?
P.S.
The best way for me to meet firewall limitations is to use one bidirectional channel between client
and server with predefined ports.
P.P.S
This solution CORBA - JacORB: Use fixed port generating IOR?
is also appropriate, but I need solution for my orb implementations (OpenORB(Java),IIOP.NET)
Thanks for assistance =)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
大多数 ORB 都可以选择在固定端点上启动服务器,如果这样做,您可以在防火墙中允许该端口
Most ORBs have an option to start your server on a fix endpoint, if you do that you can allow that port in the firewall
不,你没有。您只发现一个端口处于 LISTENING 状态。端口 7000。
No you didn't. You only found one port in the LISTENING state. Port 7000.