BindTransportException


(Ashok Gandla) #1

Hi,
I am getting following exception while running elasticsearch.yml.

BindTransportException[Failed to bind to [9495]]
ChannelException[Failed to bind to: my_IP:9495]
BindException[Cannot assign requested address: bind]


(Mark Walkom) #2

A bit more context would help.

Are you changing the port or interface that ES is listening on?


(Suny Kim) #3

We had this issue, too. It can be caused by a wrong IP in the elasticsearch.yml (network.bind_host and network.publish_host, or, setting both, network.host). Or if your elasticsearch container runs in a docker container, you may have to give docker more control over the network.


(system) #4