I installed Elasticsearch 2.2 on VPS Debian.
I configured network.host to 0.0.0.0 in elasticsearch.yml file.
I created a web site where I connect to elasticsearch to get data.
It works on Desktop but I received this error Can't connect to server on iPad or iPhone.
I don't understand why it works on Desktop and not on mobile devices.
If someone can help me ?
But before I upgrade my elasticsearch, I added only two IPs to access my cluster, my personal desktop IP on particular wifi and my personal iPhone IP on particular Wifi.
My upgrade failed and I removed manually Elasticsearch to reinstall the last one.
Maybe I didn't clean well elasticsearch and it always use my old configuration ? (However, my brother can access to the cluster on his personal desktop.)
But I can access and see my angular website content so I can access to the vps no ?
Web console just said "Failed to load resource: Could not connect to the server.
" when I execute a search on my elasticsearch cluster.
You don't happen to have old rules set in the firewall (iptables) for the VPS?
iptables --list will list current firewall rules
I would suggest you control access through a reverse proxy such as Nginx or using the firewall instead of dealing with this in the Elasticsearch configuration directly. That kind of general access rules is better to control on server/OS level instead of in particular applications since you will have more options available and more control.
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.