New install GET works, PUT 'No route to host'

Installed earlier version and I am trying to create the first index. At each PUT command, I receive a 'No route to host'

It is the simplest of the installations with the following information:

curl -XGET '192.168.2.192:9200/?pretty'
{
  "name" : "findentista-elastica",
  "cluster_name" : "findentist-cluster",
  "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"
}

Also:

curl -XGET '192.168.2.192:9200/_cluster/health?pretty' {
"cluster_name" : "findentist-cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}

From the log:

[2016-12-08 10:21:23,411][INFO ][node                     ] [findentista-elastica] starting ...
[2016-12-08 10:21:23,495][INFO ][transport                ] [findentista-elastica] publish_address {192.168.2.192:9300}, bound_addresses {192.168.2.192:9300}
[2016-12-08 10:21:23,504][INFO ][discovery                ] [findentista-elastica] findentist-cluster/vH8oZ7HZS-us_fdFVCgMrA
[2016-12-08 10:21:26,599][INFO ][cluster.service          ] [findentista-elastica] new_master {findentista-elastica}{vH8oZ7HZS-us_fdFVCgMrA}{192.168.2.192}{192.168.2.192:9300}{max_local_storage_nodes=1}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-12-08 10:21:26,647][INFO ][http                     ] [findentista-elastica] publish_address {192.168.2.192:9200}, bound_addresses {192.168.2.192:9200}
[2016-12-08 10:21:26,656][INFO ][gateway                  ] [findentista-elastica] recovered [0] indices into cluster_state

The elasticsearch.yml has the following (removed most of # comment lines):

 ======================== Elasticsearch Configuration =========================
cluster.name: findentist-cluster
node.name: findentista-elastica
network.host: 192.168.2.192
node.max_local_storage_nodes: 1

There is no data in the system, a brand new installation. Some more on the status:

ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/allocation?pretty'
0 0b 7.7gb 186.1gb 193.8gb 3 192.168.2.192 192.168.2.192 findentista-elastica
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/shards?pretty'
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/master?pretty'
vH8oZ7HZS-us_fdFVCgMrA 192.168.2.192 192.168.2.192 findentista-elastica
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/nodes?pretty'
192.168.2.192 192.168.2.192 11 65 0.07 d * findentista-elastica
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/indices?pretty'
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/segments?pretty'
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/count?pretty'
1481192823 10:27:03 0
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/health?pretty'
1481192831 10:27:11 findentist-cluster green 1 1 0 0 0 0 0 0 - 100.0%
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/pending_tasks?pretty'
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/plugins?pretty'
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/fielddata?pretty'
vH8oZ7HZS-us_fdFVCgMrA 192.168.2.192 192.168.2.192 findentista-elastica 0b
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/nodeattrs?pretty'
findentista-elastica 192.168.2.192 192.168.2.192 max_local_storage_nodes 1
ubuntu@findentist-dev-db:~/initialdata$ curl -XGET '192.168.2.192:9200/_cat/repositories?pretty'
ubuntu@findentist-dev-db:~/initialdata$

And when I try to create the first index called 'keyword':

ubuntu@findentist-dev-db:~/initialdata$ curl -XPUT '192.168.2.198:9200/keyword?pretty&pretty'
curl: (7) Failed to connect to 192.168.2.198 port 9200: No route to host

This is a virtual host on Ubuntu 16.04.1, rebooted a few hours ago with 2vCPU, 7G Ram, 200GDisk.

What have I done wrong?

Thank you.

It looks like you have set your network.host in the elasticsearch.yml to 192.168.2.192 but are trying to access Elasticsearch in your request with a different IP: 192.168.2.198

As properly described, it is a keyboard-chair problem.

Thank you for your time.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.