Ubuntu 15.10 elasticsearch 2.3 Failed to connect to localhost port 9200: Connection refused Ubuntu 15.10 elasticsearch 2.3 Failed to connect to localhost port 9200: Connection refused elasticsearch elasticsearch

Ubuntu 15.10 elasticsearch 2.3 Failed to connect to localhost port 9200: Connection refused


Did a new installation using the guidelines from here:

Digital Ocean Tutorials

The only thing I changed was to update the version from 1.7.2 to 2.3.1.

Now everything works well. Details below:

root@levilinode:~# service elasticsearch status● elasticsearch.service - Elasticsearch   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)   Active: active (running) since Thu 2016-04-14 11:21:56 EDT; 6min ago     Docs: http://www.elastic.co  Process: 13997 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS) Main PID: 14001 (java)   CGroup: /system.slice/elasticsearch.service           └─14001 /usr/bin/java -Xms256m -Xmx1g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:C...Apr 14 11:21:58 levilinode elasticsearch[14001]: [2016-04-14 11:21:58,622][INFO ][env                      ] [Shado...true]Apr 14 11:21:58 levilinode elasticsearch[14001]: [2016-04-14 11:21:58,623][WARN ][env                      ] [Shado...5536]Apr 14 11:22:01 levilinode elasticsearch[14001]: [2016-04-14 11:22:01,351][INFO ][node                     ] [Shado...lizedApr 14 11:22:01 levilinode elasticsearch[14001]: [2016-04-14 11:22:01,352][INFO ][node                     ] [Shado...g ...Apr 14 11:22:01 levilinode elasticsearch[14001]: [2016-04-14 11:22:01,444][INFO ][transport                ] [Shado...9300}Apr 14 11:22:01 levilinode elasticsearch[14001]: [2016-04-14 11:22:01,451][INFO ][discovery                ] [Shado...uaF2gApr 14 11:22:04 levilinode elasticsearch[14001]: [2016-04-14 11:22:04,521][INFO ][cluster.service          ] [Shado...ived)Apr 14 11:22:04 levilinode elasticsearch[14001]: [2016-04-14 11:22:04,554][INFO ][http                     ] [Shado...9200}Apr 14 11:22:04 levilinode elasticsearch[14001]: [2016-04-14 11:22:04,556][INFO ][node                     ] [Shado...artedApr 14 11:22:04 levilinode elasticsearch[14001]: [2016-04-14 11:22:04,581][INFO ][gateway                  ] [Shado...stateHint: Some lines were ellipsized, use -l to show in full.root@levilinode:~# curl -XGET 'localhost:9200' {  "name" : "Shadow-Hunter",  "cluster_name" : "elasticsearch",  "version" : {    "number" : "2.3.1",    "build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",    "build_timestamp" : "2016-04-04T12:25:05Z",    "build_snapshot" : false,    "lucene_version" : "5.5.0"  },  "tagline" : "You Know, for Search"}root@levilinode:~#