Problem access web to kibana and elasticsearch

Hello, I want Kibana and Elasticsearch to be accessible via a domain name (example: example.com) on the browser. -> http://example.com:9200 or http://example.com:5601. The domain name exists and there is a public IP. There is NAT on the 9200 and 5601 port.

I modified the configuration files of Elasticsearch, Kibana and Logstash. It works with a curl http://example.com:9200 or curl http://example.com:5601 but not via the browser.

I don't want to access it with the IP because I want to secure the site with a certificate lets'encrypt.

Can someone help me ?!

Is your host machine aware of what to resolve example.com to? Usually this is an entry in /etc/hosts. In the interim you can test by binding kibana to your public IP (or 0.0.0.0) in kibana.yml.

I think you can use proxy.

My host machine don't resolve example.com. My problem is a little resolve by an other person.
I have no proxy.
Thank you for your answers.

Today, my problem is the Kibana's status is red.
ui sttings -> Elastic plugin is red
plugin:elasticsearch@5.6.5 -> Request Timeout after 3000ms

If you have ideas...

But I have an other problem. I don't touch configuration files and I have an error 504 Gateway Time-Out.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.