由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - How to make RMI bypass firewall?
相关主题
为什么要用RMI?Socket Connection refused in high-loaded servers
Re: 推荐推荐What about RMI/IIOP? Is that part of EJB specific
【跪求】java applet下怎么执行系统的一个程序?What's the relationship between Enterprise JavaBe
trick to use JMX on EC2Re: EJB vs Corba
question on single thread & multithreadRe: 请教一个关于IBM-JDK1.1.8和IBMJava2-13兼容性的问题
How to listen several socketsRe: 请教 rmi 的端口问题
有人在 Win7 上用 Tomcat 吗?Re: DCOM, CORBA, JAVA/RMI
how to transfer data between two socketsJAVA RMI access denied?? WHY??
相关话题的讨论汇总
话题: rmi话题: port话题: firewall话题: bypass话题: server
进入Java版参与讨论
1 (共1页)
u**********e
发帖数: 282
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.
a*****a
发帖数: 1429
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.

u**********e
发帖数: 282
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.

a*****a
发帖数: 1429
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

u**********e
发帖数: 282
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.

a*****a
发帖数: 1429
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

l****u
发帖数: 2166
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.

1 (共1页)
进入Java版参与讨论
相关主题
JAVA RMI access denied?? WHY??question on single thread & multithread
RMI Question?How to listen several sockets
need your comments有人在 Win7 上用 Tomcat 吗?
Tomcat和什么一起作Application Server?how to transfer data between two sockets
为什么要用RMI?Socket Connection refused in high-loaded servers
Re: 推荐推荐What about RMI/IIOP? Is that part of EJB specific
【跪求】java applet下怎么执行系统的一个程序?What's the relationship between Enterprise JavaBe
trick to use JMX on EC2Re: EJB vs Corba
相关话题的讨论汇总
话题: rmi话题: port话题: firewall话题: bypass话题: server