Link to home
Start Free TrialLog in
Avatar of akruger
akruger

asked on

openjms behind a gnatbox firewall

I can not figure out what ports to open up to allow openjms to communicate using the RMI protocol through a gnatbox ... Any body?
Avatar of girionis
girionis
Flag of Greece image

The defautl port is 3030 (from: http://openjms.sourceforge.net/config/reference.html)
If you also ned to open an RMI port, it defaults to 1099.
Avatar of akruger
akruger

ASKER

Right ... I have opened up port 1099 tcp through the firewall because I am using RMI ...
Inside the firewall it works like a charm .... so openjms is set up correctly

I open up a NAT to the host running openjms and then open up a filter to the host using TCP.

When I watch the logs it looks like a connection is made ... but no data ever flows ... so do I have to open up UDP/ICMP or something else to get RMI to work?

>  so do I have to open up UDP/ICMP or something else to get RMI to work?

You shouldn't, opening up port 1099 should be enough. Have you checked if RMI is using the default port, you might have configured it to use some other port.
Avatar of akruger

ASKER

I have kept digging and RMI uses a random port ... not nice in a firewall.  Will have to use TCP ...
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial