Ports for Java client?

Hi,

I'm confused about which port the server listens on. When I test it
from the command line via curl, I use port 9200. But in the Java
examples, the Java client seems to be connecting on port 9300. There
are also references to port 9400 in the config file.

I need to know which port or ports are required to connect from the
Java client so I can configure my firewall correctly.

Thanks.

9200 is HTTP port, 9300 is the transport port which nodes talk to one
another and Java clients do. The 9400 port is only applicable for Thrift if
you installed the thrift plugin.

On Thu, Jan 12, 2012 at 4:06 AM, Frank LaRosa frank@studyblue.com wrote:

Hi,

I'm confused about which port the server listens on. When I test it
from the command line via curl, I use port 9200. But in the Java
examples, the Java client seems to be connecting on port 9300. There
are also references to port 9400 in the config file.

I need to know which port or ports are required to connect from the
Java client so I can configure my firewall correctly.

Thanks.