Redian新闻
>
How to make RMI bypass firewall?
avatar
How to make RMI bypass firewall?# Java - 爪哇娇娃
u*e
1
Anybody knows how to make RMI bypass firewall without using http tunneling?
In other words, how to fix port in RMI so that it can be used when firewall is
in between?
Many thanks.
avatar
a*a
2

is
RMI by default uses 1099. Open the port on your wall. You can also
use your own port.

【在 u**********e 的大作中提到】
: Anybody knows how to make RMI bypass firewall without using http tunneling?
: In other words, how to fix port in RMI so that it can be used when firewall is
: in between?
: Many thanks.

avatar
u*e
3
It doesn't work.
1099 is just server socket. Server listens and waits there for request from
client. When it get request, it just pickup a port randomly(from free port) to
callback to client

tunneling?
firewall

【在 a*****a 的大作中提到】
:
: is
: RMI by default uses 1099. Open the port on your wall. You can also
: use your own port.

avatar
a*a
4

to
Sounds ridicules. The so called "randomly port" is a client port, not a server
port. Server can't "pikcup" such kind of a port. Also, No firewall blocks
client ports. Otherwise, you even can't browse the net.

【在 u**********e 的大作中提到】
: It doesn't work.
: 1099 is just server socket. Server listens and waits there for request from
: client. When it get request, it just pickup a port randomly(from free port) to
: callback to client
:
: tunneling?
: firewall

avatar
u*e
5
It's not truth. Some users (gov., military, finance,etc) have certain
internal network for specific purpose (Storage, datacenter, etc). They won't
allow even port 80 opened. (One of our customer happen to be in this case)
I already found the solution from web. You can see more explanation here:
http://www.javacoding.net/articles/technical/rmi-firewall.html

from
port)
server

【在 a*****a 的大作中提到】
:
: to
: Sounds ridicules. The so called "randomly port" is a client port, not a server
: port. Server can't "pikcup" such kind of a port. Also, No firewall blocks
: client ports. Otherwise, you even can't browse the net.

avatar
a*a
6
En, I was wrong. I thought the "random port" you mentioned is client socket.
Coz I know RMI prefers to pick up some special server sockets like 0, unlik
ftp protocol. Well, just configure your firewall for RMI protocol...

【在 u**********e 的大作中提到】
: It's not truth. Some users (gov., military, finance,etc) have certain
: internal network for specific purpose (Storage, datacenter, etc). They won't
: allow even port 80 opened. (One of our customer happen to be in this case)
: I already found the solution from web. You can see more explanation here:
: http://www.javacoding.net/articles/technical/rmi-firewall.html
:
: from
: port)
: server

avatar
l*u
7
using http tunneling yah
which will take use of port 80( the http port) to transfer request

is

【在 u**********e 的大作中提到】
: Anybody knows how to make RMI bypass firewall without using http tunneling?
: In other words, how to fix port in RMI so that it can be used when firewall is
: in between?
: Many thanks.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。