Hi,
I installed elasticsearch on debian server. After installing , I open elasticsearch.yml file for configurations.
I configured these things..
network.host: my global public ip of debian server
http.port : 9200
and I also changed the cluster.name and node.name.
Now whenever I access it using http://myglobalip:9200 in browser , then no response or run query on debian like this
curl -X GET 'http://myglobalip:9200'
then it gives me this error
Failed to connect to myglobalip port 9200: Connection timed out
whenever I change network.host: localhost
It gives me correct result after running this query
curl -X GET 'http://localhost:9200'
its mean that it is working
I search many documents but still my problem not solve.
I also check the port, port is open.
Am I missing something or doing wrong?
kindly help regarding this issue.
regards
AQM