P
P
pandaa2020-07-02 17:26:38
elasticsearch
pandaa, 2020-07-02 17:26:38

Why can't create an index?

return await client.indices.create({
  index: 'blog'
});

Displays an error (node: 8156) UnhandledPromiseRejectionWarning: TimeoutError: Request timed out
Everything is fine with the connection, because I tested it on a different index. I want to create another one, but it displays this error

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2020-07-02
@akelsey

TimeoutError: Request timed out

Means that the socket is not listening on the port or behind the firewall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question