Kibana is throwing 503 error

When i am using curl command to check the kibana status , it says:

curl -I http://localhost:5601/status

HTTP/1.1 503 Service Unavailable

retry-after: 30

content-type: text/html; charset=utf-8

cache-control: no-cache

content-length: 30

Date: Sat, 04 May 2019 12:50:18 GMT

Connection: keep-alive

Kibana.YML file

cat /etc/kibana/kibana.yml

elasticsearch.url: ""

server.port: 5601 "localhost"

server.ssl.enabled: false

logging.dest: /var/log/kibana/kibana.log

Can someone help me here to solve the 503 error?

This has been resolved now, it was the issue with Amazon Linux AMI.