How to delete or close oldest indices

(Syakir Haris) #1

I am so noob, even when I try to list the indices using the command

curl 'localhost:9200/_cat/indices?v'

it keeps on displaying this message

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

(Magnus B├Ąck) #2

Some possible causes:

  • ES isn't running.
  • ES is running but on another port than 9200.
  • ES is running on port 9200 but doesn't listen on the loopback interface.
  • ES is running on port 9200 and listens on the loopback interface but there's a firewall blocking the access.

(Syakir Haris) #3

can you teach me about loopback interface? :blush:

(Mark Walkom) #4

Loopback is, generally it's the interface called lo.

(Imran Siddique) #5

are u able to just go to http://localhost:9200

(system) #6