When I tried connecting to Elasticsearch using the
curl http://localhost:9200
it is working fine.
But when I run the curl http://IpAddress:9200
it is throwing an error saying
Failed to connect to localhost port 9200: Connection refused
How to resolve this error?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…