I started Elasticsearch at localhost:9200. Also, I have a simple yii2 application at localhost:80. When I trying to connect yii2 with elasticsearch, I have the following error
Elasticsearch Database Exception – yii\elasticsearch\Exception Elasticsearch request failed with code 502.
The proxy could not connect to the destination in time. -says McAfee
But, if I go directly from my browser to localhost:9200
it works fine, elasticsearch sends a response.
I know that the reason for that problem is proxy in our bank system.
But I really do not know how to set an exception in my XAMPP config files.
We have proxy settings like:
http://username:password@host:port
Help me please.