From localhost I can curl fine. But from my desktop curl gives connection refused.
I have no firewall on the server.
My kibana.yml file:
server.host: "evm"
logging.dest: /var/log/kibana/kibana.log
I can open the log file, and every time I access kibana from localhost the log is updated, but when accessing from other machine the log does not say anything.
I host elasticsearch in the same maching with kibana.
Also can access elasticsearch from my desktop on port 9200, but can't access kibana!
I am so confused please help.
Edit:
Here is a screenshot of my terminals, left is kibana log file, up right I curl from localhost, down right I curl form my desktop.
This sounds like a network issue. If it's working from localhost (ie. the machine that is running Kibana), but not from external machines, are you sure the port is open on the machine running Kibana? And are you sure that the external machines are correctly resolving whatever hostname you are using?
It was working fine. The only thing I did was changing the IP of the server. But I restarted all the services after.
I will try to restart the machine.
Hi @Joe_Fleming thanks for the reply, I am sure other machines resolve the hostname correctly, and I uploaded a screenshot of my terminals please see them and tell me what you think.
Thank you @Ben96 for the reply, The Issue was solved:
I am still making a demo so didn't think of putting the IP in the DNS.
The problem was that I set the hostname "evm" in /etc/hosts to 127.0.0.1 which is a loopback address. So outer machines are not allowed to access kibana.
I think I should use /etc/hostname for that purpose instead of /etc/hosts, right?
Yes, I didn't use hosname files for a long time, that I completely forgot about /etc/hostname I think this post should be closed now, thank you @Ben96 and @Joe_Fleming for your help.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.