Quite a beginner to Elasticsearch and Kibana. I followed the instructions on Docker Hub pages to install them on my Ubuntu 18.04 server. Below are the webpages that I referred to: Elasticsearch 7.0.3 Kibana 7.0.3
After successfully installing the docker images, I can see both containers running on my server: I can also get right results when curling locally:
However, both curl commands showed 'Failed to connect to [my server ip : the port number]: Time out' error if I curled from another machine. Two reasons that I could think of:
So I checked both. Below are the results: I could be wrong but everything looks good to me. Any ideas?
-Updates
I forgot to mention that I am able to ping my ubuntu server because if I type [my server ip address] in my browser, it will give me this 'welcome to nginx' page
Edit your elasticsearch.yml/kibana.yml files and use 0.0.0.0 as network.host instead of localhost.
To use your curl command,replace localhost by the ip address.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.