Can the http port be closed/disabled if its not being used?


(MikeNereson) #1

I've got a cluster of Es nodes on Ec2 in Aws.

I have java applications outside of Aws and inside of Aws communicating
with the cluster via the Java TransportClient.

As I understand it, there are two ports. The http port and a tcp port. The
http port is required to make REST based queries, and for
elasticsearch-head access.

Does the java TransportClient use http or tcp?
If the TransportClient uses tcp only, can I close or otherwise disable the
http port and its functionality completely?
Can the http port be closed/disabled if its not being used? Or is it being
used in some other way that requires it to be open?

For security concerns, if we are not using the http access, we require to
close the port.

Thanks.

~ Mike


(Shay Banon) #2

Yes, just set http.enabled to false.

On Wednesday, February 8, 2012 at 9:39 PM, MikeNereson wrote:

I've got a cluster of Es nodes on Ec2 in Aws.

I have java applications outside of Aws and inside of Aws communicating with the cluster via the Java TransportClient.

As I understand it, there are two ports. The http port and a tcp port. The http port is required to make REST based queries, and for elasticsearch-head access.

Does the java TransportClient use http or tcp?
If the TransportClient uses tcp only, can I close or otherwise disable the http port and its functionality completely?
Can the http port be closed/disabled if its not being used? Or is it being used in some other way that requires it to be open?

For security concerns, if we are not using the http access, we require to close the port.

Thanks.

~ Mike


(system) #3