Elasticsuite: curl: (7) Failed to connect to localhost port 9200: Connection refused

Created on 24 Jun 2016  路  10Comments  路  Source: Smile-SA/elasticsuite

Hi

curl localhost:9200

i got this error

curl: (7) Failed to connect to localhost port 9200: Connection refused

ubuntu 15.10 32 bits

Most helpful comment

Where can i find any log of ElasticSearch ?

All 10 comments

The issue is not in ElasticSuite but more likely in your ElasticSearch install.

Can you check you ran all steps described here : https://github.com/Smile-SA/elasticsuite/wiki/ServerConfig

BR,

@afoucret
I followed all the steps

Are you using any virtualization or container stuff ?

The problem is clearly related with your ElasticSearch setup and not in ElasticSuite.
It seems that the service is not started.

I would start by checking this : https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-service.html#using-systemd

@afoucret
The service is not starting

I'm not using any virtualization or container stuff

root@sofisoft-OptiPlex-380:/var/www/html# java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Server VM (build 25.91-b14, mixed mode)

root@sofisoft-OptiPlex-380:/var/www/html# /etc/init.d/elasticsearch stop
[ ok ] Stopping elasticsearch (via systemctl): elasticsearch.service.
root@sofisoft-OptiPlex-380:/var/www/html# /etc/init.d/elasticsearch start
[ ok ] Starting elasticsearch (via systemctl): elasticsearch.service.
root@sofisoft-OptiPlex-380:/var/www/html# 

Since this issue is purely related to running ElasticSearch on Ubuntu 15.10, it would be better to look for a solution into the ElasticSearch community (and start digging into the elasticsearch github repo https://github.com/elastic/elasticsearch).

IMHO it is not related to ElasticSuite at all and this issue should be closed.

Where can i find any log of ElasticSearch ?

You will find log into /var/log/elasticsearch.
If the problem occurs during startup, useful information can sometines be found into the syslog (/var/logsyslog ?)

As explained in my previous response I close this issue which is not related directly with ElasticSuite.

Thx

no log file in this folder
/var/log/elasticsearch/

no log related to elasticsearch in
/var/log/syslog

I am beginner for ElasticSearch and i would like to install ES in my AWS RHEL 7.2, Can you please share the steps for installation.
Thank you

Here is a tutorial on how to install it and what issues to watch out for (Elasticsearch 5) on ubuntu/homestead
https://medium.com/@adnanxteam/how-to-install-elasticsearch-5-and-kibana-on-homestead-vagrant-60ea757ff8c7

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wouter-toppy picture wouter-toppy  路  4Comments

JonathanBBD picture JonathanBBD  路  3Comments

wintermute-84 picture wintermute-84  路  4Comments

gihovani picture gihovani  路  4Comments

emirajbbd picture emirajbbd  路  3Comments