Specify Elasticsearch port


#1

How can I specify the port for elasticsearch to launch and test a connection to? I’d like to change it from 9200 to 9250. Here is my current circle.yml config:

dependencies:
  cache_directories:
- elasticsearch-2.4.3 # relative to the build directory
  post:
- if [[ ! -e elasticsearch-2.4.3 ]]; then wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.2/elasticsearch-2.4.3.tar.gz && tar -xvf elasticsearch-2.4.3.tar.gz; fi
- elasticsearch-2.4.3/bin/elasticsearch: {background: true}
- sleep 10 && wget --waitretry=5 --retry-connrefused -v http://127.0.0.1:9200/

#2