W
W
WebDev2019-08-23 10:48:31
ubuntu
WebDev, 2019-08-23 10:48:31

Elasticsearch is running but not available?

Installed elasticsearch on ubuntu, it is running (elasticsearch status), but

curl -XGET 127.0.0.1:9200
gives an error message
Failed to connect to 127.0.0.1 port 9200: Connection refused

Googled, advice doesn't help. Tried to change configs in elasticsearch.yml (network.host network.bind_host) nothing helps.
How to find the reason? Where to look?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
moropsk, 2019-08-23
@moropsk

This should help.
https://serveradmin.ru/ustanovka-i-nastroyka-elast...

V
Vitaly Karasik, 2019-08-23
@vitaly_il1

What
does lsof -ni | grep elastic
?
and look at the logs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question