Unable to connect Spring Boot API with elastic search

Hi all,

I have written a simple Spring Boot API in Spring Tool Suite for elastic search which will be used for CRUD operation using Elastic Search. When I am running my code as Spring Boot app, I am getting following result saying Tomcat server started on 9000 port but when I am trying to access that port using Postman with http://localhost:9000 it is giving 404 error.

Postman error below:

{
    "timestamp": 1532952939440,
    "status": 404,
    "error": "Not Found",
    "message": "No message available",
    "path": "/"
}

Kindly help me.
Thanks.

Tomcat is running on port 9000, right?
Not elasticsearch.

So I don't see how we can help.

You should ask tomcat or Spring forums may be.