Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

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?
0
akruger
Asked:
akruger
  • 4
  • 2
1 Solution
 
girionisCommented:
The defautl port is 3030 (from: http://openjms.sourceforge.net/config/reference.html)
0
 
girionisCommented:
If you also ned to open an RMI port, it defaults to 1099.
0
 
akrugerAuthor Commented:
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?

0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
girionisCommented:
>  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.
0
 
akrugerAuthor Commented:
I have kept digging and RMI uses a random port ... not nice in a firewall.  Will have to use TCP ...
0
 
girionisCommented:
This shouldn't happen. How do you start the rmiregistry. You can assign a port while you start it:

rmiregistry 1099
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now