I want to deploy ES on a server which already has another application using
9300 port. When I start ES, it automatically select next free port like
9302 which is expected.
Problem is that I am unable to connect to ES cluster even if I specify 9302
port in transport client, log shows that client is still trying to connect
to 9300 port.
Client client = new TransportClient()
.addTransportAddress(new InetSocketTransportAddress("host1", 9302))
- [Jacob "Jake" Fury] failed to get local cluster state for
[inet[10.52.192.144:9300]][cluster/state] request_id  timed out after
Can someone please confirm if it is possible to run ES if 9300 port is not
available and if so provide me pointer on how to correctly specify port
when creating java client.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a75dbb4d-eb71-4978-914a-0e9a95d4e4cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.