First i want to apologize for my poor english.
Search a solution for my problem by 2 days and still i have no idea how to fix it.
I have 2 places running ES + PHP:
- Mac Os
- CentOS (Virtual Box)
To install on linux Centos i am using this tutorial :https://www.saotn.org/install-elasticsearch-on-centos-6-7/
I created my index, mappings and everything works fine on ES.
Linux: When i use curl on terminal linux ES works fine, but when i use curl on php local ES ignore my request.
ES looks like ignore all request by my local script php. When i use my script on Mac Os and search on linux it works.
When i use the same script on linux but search on ES in my MacOs, it works too, so i imagine the problem is on ES linux ignoring my search made on the same local server.
Thanks and have a great day!