Disabling unused ports

Can the transport ports on elasticsearch be disabled somehow the way http ports can be disabled?

If the http port on a single node elasticsearch instance is being used by kibana and logstash, there should be a way to disable the unused transport ports.

Transport port is used for node to node communication. If you have just one node, then you can bind to by using transport.bind_host.


Otherwise you can block the port using iptables.