openjms behind a gnatbox firewall

Posted on 2004-09-08
Last Modified: 2010-03-31
I can not figure out what ports to open up to allow openjms to communicate using the RMI protocol through a gnatbox ... Any body?
Question by:akruger
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 35

Expert Comment

ID: 12005100
The defautl port is 3030 (from:
LVL 35

Expert Comment

ID: 12005102
If you also ned to open an RMI port, it defaults to 1099.

Author Comment

ID: 12009780
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?

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 35

Expert Comment

ID: 12010793
>  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.

Author Comment

ID: 12013013
I have kept digging and RMI uses a random port ... not nice in a firewall.  Will have to use TCP ...
LVL 35

Accepted Solution

girionis earned 250 total points
ID: 12014007
This shouldn't happen. How do you start the rmiregistry. You can assign a port while you start it:

rmiregistry 1099

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
couple of eclipse 5 52
mysql jsp example issue 32 69
Where to place postgres JDBC driver jar on tomcat 8 25
Java array 10 55
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question